@kq_npm/client3d_webgl_vue 4.5.28-beta → 4.5.30
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 +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27093 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20321 -7165
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27093 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27093 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.kq3d-windy-slicing{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--kq-bg-color)}.kq3d-windy-slicing .kq3d-windy-slicing-box{width:324px}.kq3d-windy-slicing .kq-row{margin-bottom:0}.kq3d-windy-slicing .rowclass{margin-left:0!important;margin-right:0!important;margin-bottom:8px!important}.kq3d-windy-slicing .kq-radio-button__inner{width:70px}.kq3d-windy-slicing .kq3d-windy-slicing-btn{font-size:20px;height:36px;padding:8px 10px}.kq3d-windy-slicing .kq-button+.kq-button{margin-left:8px}.kq3d-windy-slicing .kq3d-windy-slicing-btn_active{color:var(--kq-button-active-text-color);border-color:var(--kq-button-active-border-color);background-color:var(--kq-button-active-bg-color);outline:none}.kq3d-windy-slicing .kq3d-windy-slicing-tip{color:var(--kq-text-color-regular);font-size:var(--kq-font-size-base)}.kq3d-windy-slicing .kq3d-windy-slicing-tip p{margin:8px 0 0}.kq3d-windy-slicing .kq3d-windy-slicing-collapse .kq-row{display:block}.kq3d-windy-slicing .kq3d-windy-slicing-collapse .kq-divider--horizontal{margin:0}.kq3d-windy-slicing .kq-collapse{border:unset}.kq3d-windy-slicing .kq-collapse .kq-collapse-item__header{border:unset;height:38px;background-color:var(--kq-fill-color-light);font-weight:700;padding:0 16px;font-size:16px}.kq3d-windy-slicing .kq-collapse .kq-collapse-item__arrow{margin:0 0 0 auto}.kq3d-windy-slicing .kq-collapse .kq-collapse-item__wrap{border-bottom:none}.kq3d-windy-slicing .kq-collapse .kq-collapse-item__wrap .kq-collapse-item__content{padding-bottom:unset;border:unset;padding-top:8px}.kq3d-windy-slicing .kq-form-item{margin-bottom:0}.kq3d-windy-slicing .kq-form-item__content{display:block;line-height:normal}.kq3d-windy-slicing .kq-slider{width:95%}.kq3d-windy-slicing .kq-slider .kq-slider__button{width:14px;height:14px}.kq3d-windy-slicing .kq-input-number.is-controls-right{width:65px}.kq3d-windy-slicing .kq-input-number.is-controls-right .kq-input-number__decrease,.kq3d-windy-slicing .kq-input-number.is-controls-right .kq-input-number__increase{width:20px}.kq3d-windy-slicing .kq-col-8 .kq-input-number .kq-input__wrapper,.kq3d-windy-slicing .kq-input-number.is-controls-right .kq-input__wrapper{padding-left:0;padding-right:20px}.kq3d-windy-slicing .kq3d-windy-slicing-footer{text-align:right;padding:16px 0 0}
|
package/wireframesketch/index.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
@@ -25,10 +25,12 @@ return /******/ (function() { // webpackBootstrap
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
|
|
28
29
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
29
30
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
31
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
32
|
};
|
|
33
|
+
|
|
32
34
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (KqMessage)));
|
|
33
35
|
|
|
34
36
|
/***/ }),
|
|
@@ -40,13 +42,6 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
40
42
|
|
|
41
43
|
/***/ }),
|
|
42
44
|
|
|
43
|
-
/***/ 2118:
|
|
44
|
-
/***/ (function(module) {
|
|
45
|
-
|
|
46
|
-
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
|
-
|
|
48
|
-
/***/ }),
|
|
49
|
-
|
|
50
45
|
/***/ 9389:
|
|
51
46
|
/***/ (function(module) {
|
|
52
47
|
|
|
@@ -89,59 +84,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
89
84
|
|
|
90
85
|
/***/ }),
|
|
91
86
|
|
|
92
|
-
/***/
|
|
87
|
+
/***/ 8270:
|
|
93
88
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
94
89
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
109
|
-
}, _typeof(o);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
113
|
-
|
|
114
|
-
function toPrimitive(t, r) {
|
|
115
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
116
|
-
var e = t[Symbol.toPrimitive];
|
|
117
|
-
if (void 0 !== e) {
|
|
118
|
-
var i = e.call(t, r || "default");
|
|
119
|
-
if ("object" != _typeof(i)) return i;
|
|
120
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
90
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
91
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
92
|
+
/* harmony export */ });
|
|
93
|
+
function _defineProperty(obj, key, value) {
|
|
94
|
+
if (key in obj) {
|
|
95
|
+
Object.defineProperty(obj, key, {
|
|
96
|
+
value: value,
|
|
97
|
+
enumerable: true,
|
|
98
|
+
configurable: true,
|
|
99
|
+
writable: true
|
|
100
|
+
});
|
|
101
|
+
} else {
|
|
102
|
+
obj[key] = value;
|
|
121
103
|
}
|
|
122
|
-
return ("string" === r ? String : Number)(t);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
function toPropertyKey(t) {
|
|
129
|
-
var i = toPrimitive(t, "string");
|
|
130
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
134
104
|
|
|
135
|
-
|
|
136
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
137
|
-
value: t,
|
|
138
|
-
enumerable: !0,
|
|
139
|
-
configurable: !0,
|
|
140
|
-
writable: !0
|
|
141
|
-
}) : e[r] = t, e;
|
|
105
|
+
return obj;
|
|
142
106
|
}
|
|
143
107
|
|
|
144
|
-
|
|
145
108
|
/***/ })
|
|
146
109
|
|
|
147
110
|
/******/ });
|
|
@@ -224,69 +187,96 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
224
187
|
"default": function() { return /* reexport */ WireframeSketch; }
|
|
225
188
|
});
|
|
226
189
|
|
|
227
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
228
|
-
var es_array_push_js_ = __webpack_require__(2118);
|
|
229
190
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
230
191
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
231
192
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
232
193
|
var gis_utils_ = __webpack_require__(7135);
|
|
233
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
234
|
-
var defineProperty = __webpack_require__(
|
|
194
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
195
|
+
var defineProperty = __webpack_require__(8270);
|
|
235
196
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
236
197
|
var message = __webpack_require__(1349);
|
|
237
198
|
;// CONCATENATED MODULE: ./src/webgl/wireframesketch/WireframeSketchViewModel.js
|
|
238
199
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
*
|
|
200
|
+
|
|
201
|
+
/*
|
|
202
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
203
|
+
* All rights reserved.
|
|
242
204
|
*/
|
|
243
205
|
//模型滤镜逻辑类
|
|
244
206
|
|
|
245
207
|
class WireframeSketchViewModel {
|
|
208
|
+
// 三维viewer对象
|
|
209
|
+
// 声明线框模式类
|
|
246
210
|
// 草图模式显示
|
|
247
211
|
constructor(scenceView) {
|
|
248
212
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
249
|
-
|
|
213
|
+
|
|
250
214
|
(0,defineProperty/* default */.Z)(this, "_wireFrame", null);
|
|
251
|
-
|
|
215
|
+
|
|
252
216
|
(0,defineProperty/* default */.Z)(this, "_sketch", null);
|
|
217
|
+
|
|
253
218
|
this._viewer = scenceView._viewer;
|
|
254
219
|
this._wireFrame = new window.Cesium.Kq3dWireFrame({
|
|
255
220
|
viewer: this._viewer
|
|
256
221
|
}); //声明线框模式类
|
|
257
222
|
}
|
|
223
|
+
|
|
258
224
|
changeFrameRender(key) {
|
|
259
225
|
switch (key) {
|
|
260
226
|
case "1":
|
|
261
227
|
this._wireFrame.type = 1;
|
|
262
|
-
|
|
228
|
+
|
|
229
|
+
if (this._sketch) {
|
|
230
|
+
this._viewer.effects.remove(this._sketch);
|
|
231
|
+
|
|
232
|
+
this._sketch = null;
|
|
233
|
+
}
|
|
234
|
+
|
|
263
235
|
break;
|
|
236
|
+
|
|
264
237
|
case "2":
|
|
265
238
|
this._wireFrame.type = 0;
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
239
|
+
|
|
240
|
+
if (!this._sketch) {
|
|
241
|
+
this._sketch = new window.Cesium.Kq3dSketch({
|
|
242
|
+
viewer: this._viewer
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
this._viewer.effects.add(this._sketch); // 草图模式显示
|
|
246
|
+
|
|
247
|
+
}
|
|
248
|
+
|
|
270
249
|
break;
|
|
250
|
+
|
|
271
251
|
case "3":
|
|
272
252
|
this._wireFrame.type = 0;
|
|
273
|
-
|
|
253
|
+
|
|
254
|
+
if (this._sketch) {
|
|
255
|
+
this._viewer.effects.remove(this._sketch); // 移除草图模式
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
this._sketch = null;
|
|
259
|
+
}
|
|
260
|
+
|
|
274
261
|
break;
|
|
262
|
+
|
|
275
263
|
default:
|
|
276
264
|
break;
|
|
277
265
|
}
|
|
278
|
-
}
|
|
279
|
-
|
|
266
|
+
} //清除
|
|
267
|
+
|
|
268
|
+
|
|
280
269
|
clear() {
|
|
281
270
|
this._wireFrame.type = 0;
|
|
282
271
|
if (this._wireFrame) this._wireFrame.destroy();
|
|
283
272
|
if (this._sketch) this._viewer.effects.remove(this._sketch);
|
|
284
|
-
}
|
|
273
|
+
} //销毁
|
|
274
|
+
|
|
285
275
|
|
|
286
|
-
//销毁
|
|
287
276
|
destroy() {
|
|
288
277
|
this.clear();
|
|
289
278
|
}
|
|
279
|
+
|
|
290
280
|
}
|
|
291
281
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
292
282
|
var client_icons_vue_ = __webpack_require__(348);
|
|
@@ -294,8 +284,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
294
284
|
var util_ = __webpack_require__(3458);
|
|
295
285
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
296
286
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
297
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/wireframesketch/WireframeSketch.vue?vue&type=script&setup=true&lang=js
|
|
298
|
-
|
|
287
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/wireframesketch/WireframeSketch.vue?vue&type=script&setup=true&lang=js
|
|
299
288
|
|
|
300
289
|
|
|
301
290
|
|
|
@@ -318,6 +307,7 @@ const __default__ = {
|
|
|
318
307
|
type: Boolean,
|
|
319
308
|
default: true
|
|
320
309
|
},
|
|
310
|
+
|
|
321
311
|
/**
|
|
322
312
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
323
313
|
*/
|
|
@@ -347,30 +337,27 @@ const __default__ = {
|
|
|
347
337
|
default: true
|
|
348
338
|
}
|
|
349
339
|
},
|
|
340
|
+
|
|
350
341
|
setup(__props, {
|
|
351
342
|
expose: __expose
|
|
352
343
|
}) {
|
|
353
344
|
const props = __props;
|
|
354
345
|
const {
|
|
355
346
|
proxy
|
|
356
|
-
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
357
|
-
|
|
347
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); //语言
|
|
348
|
+
|
|
358
349
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
359
350
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
360
351
|
let viewModel = null;
|
|
361
352
|
let ref_box = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
362
|
-
let checkbox_data = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(["2"]);
|
|
363
|
-
|
|
364
|
-
// 获取组件传参
|
|
365
|
-
|
|
353
|
+
let checkbox_data = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(["2"]); // 获取组件传参
|
|
366
354
|
// 组件容器Ref
|
|
367
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
368
355
|
|
|
369
|
-
// 生成组件默认header
|
|
356
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
357
|
+
|
|
370
358
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
371
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
359
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
372
360
|
|
|
373
|
-
// 国际化
|
|
374
361
|
let {
|
|
375
362
|
locale,
|
|
376
363
|
messages
|
|
@@ -394,6 +381,7 @@ const __default__ = {
|
|
|
394
381
|
});
|
|
395
382
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
396
383
|
//父组件ScenceView初始化完成后执行
|
|
384
|
+
|
|
397
385
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
398
386
|
if (scenceView) {
|
|
399
387
|
viewModel = new WireframeSketchViewModel(scenceView);
|
|
@@ -401,41 +389,50 @@ const __default__ = {
|
|
|
401
389
|
}
|
|
402
390
|
});
|
|
403
391
|
});
|
|
404
|
-
|
|
405
392
|
/**
|
|
406
393
|
* @description 监听header生成
|
|
407
394
|
*/
|
|
395
|
+
|
|
408
396
|
const watchCreateHeaderTemp = () => {
|
|
409
397
|
if (props.showHeaderTemp) {
|
|
410
398
|
// 生成headerTemp
|
|
411
399
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
412
400
|
}
|
|
413
401
|
};
|
|
402
|
+
|
|
414
403
|
function onChangeFrameRender(val) {
|
|
415
404
|
checkbox_data.value = [];
|
|
416
405
|
checkbox_data.value.push(val);
|
|
417
406
|
setTimeout(() => {
|
|
418
407
|
if (viewModel) viewModel.changeFrameRender(val);
|
|
419
408
|
}, 500);
|
|
420
|
-
}
|
|
421
|
-
|
|
409
|
+
} // 清除
|
|
410
|
+
|
|
411
|
+
|
|
422
412
|
function clear() {
|
|
423
413
|
viewModel && viewModel.clear();
|
|
424
|
-
}
|
|
414
|
+
} // 销毁
|
|
415
|
+
|
|
425
416
|
|
|
426
|
-
// 销毁
|
|
427
417
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
428
418
|
viewModel && viewModel.destroy();
|
|
429
419
|
});
|
|
420
|
+
|
|
430
421
|
__expose({
|
|
431
422
|
clear
|
|
432
423
|
});
|
|
424
|
+
|
|
433
425
|
return (_ctx, _cache) => {
|
|
434
426
|
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
427
|
+
|
|
435
428
|
const _component_kq_checkbox_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox-group");
|
|
429
|
+
|
|
436
430
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
431
|
+
|
|
437
432
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
433
|
+
|
|
438
434
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
435
|
+
|
|
439
436
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
440
437
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-wireframe-sketch", {
|
|
441
438
|
'kq-box-shadow': __props.showShadow
|
|
@@ -446,7 +443,9 @@ const __default__ = {
|
|
|
446
443
|
key: 0,
|
|
447
444
|
ref_key: "headerTempRef",
|
|
448
445
|
ref: headerTempRef
|
|
449
|
-
}, null, 512
|
|
446
|
+
}, null, 512
|
|
447
|
+
/* NEED_PATCH */
|
|
448
|
+
)) : (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", {
|
|
450
449
|
class: "kq3d-wireframe-sketch-box",
|
|
451
450
|
ref_key: "ref_box",
|
|
452
451
|
ref: ref_box
|
|
@@ -471,33 +470,64 @@ const __default__ = {
|
|
|
471
470
|
label: "3",
|
|
472
471
|
onChange: _cache[0] || (_cache[0] = $event => onChangeFrameRender('3'))
|
|
473
472
|
}, {
|
|
474
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).textureRender), 1
|
|
475
|
-
|
|
473
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).textureRender), 1
|
|
474
|
+
/* TEXT */
|
|
475
|
+
)]),
|
|
476
|
+
_: 1
|
|
477
|
+
/* STABLE */
|
|
478
|
+
|
|
476
479
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_checkbox, {
|
|
477
480
|
label: "1",
|
|
478
481
|
onChange: _cache[1] || (_cache[1] = $event => onChangeFrameRender('1'))
|
|
479
482
|
}, {
|
|
480
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).wireFrameRender), 1
|
|
481
|
-
|
|
483
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).wireFrameRender), 1
|
|
484
|
+
/* TEXT */
|
|
485
|
+
)]),
|
|
486
|
+
_: 1
|
|
487
|
+
/* STABLE */
|
|
488
|
+
|
|
482
489
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_checkbox, {
|
|
483
490
|
label: "2",
|
|
484
491
|
onChange: _cache[2] || (_cache[2] = $event => onChangeFrameRender('2'))
|
|
485
492
|
}, {
|
|
486
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sketchRender), 1
|
|
487
|
-
|
|
493
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sketchRender), 1
|
|
494
|
+
/* TEXT */
|
|
495
|
+
)]),
|
|
496
|
+
_: 1
|
|
497
|
+
/* STABLE */
|
|
498
|
+
|
|
488
499
|
})]),
|
|
489
|
-
_: 1
|
|
490
|
-
|
|
491
|
-
|
|
500
|
+
_: 1
|
|
501
|
+
/* STABLE */
|
|
502
|
+
|
|
503
|
+
}, 8
|
|
504
|
+
/* PROPS */
|
|
505
|
+
, ["modelValue"])]),
|
|
506
|
+
_: 1
|
|
507
|
+
/* STABLE */
|
|
508
|
+
|
|
492
509
|
})]),
|
|
493
|
-
_: 1
|
|
494
|
-
|
|
495
|
-
|
|
510
|
+
_: 1
|
|
511
|
+
/* STABLE */
|
|
512
|
+
|
|
513
|
+
}, 8
|
|
514
|
+
/* PROPS */
|
|
515
|
+
, ["label"])]),
|
|
516
|
+
_: 1
|
|
517
|
+
/* STABLE */
|
|
518
|
+
|
|
496
519
|
})]),
|
|
497
|
-
_: 1
|
|
498
|
-
|
|
520
|
+
_: 1
|
|
521
|
+
/* STABLE */
|
|
522
|
+
|
|
523
|
+
})], 512
|
|
524
|
+
/* NEED_PATCH */
|
|
525
|
+
)], 2
|
|
526
|
+
/* CLASS */
|
|
527
|
+
);
|
|
499
528
|
};
|
|
500
529
|
}
|
|
530
|
+
|
|
501
531
|
}));
|
|
502
532
|
;// CONCATENATED MODULE: ./src/webgl/wireframesketch/WireframeSketch.vue?vue&type=script&setup=true&lang=js
|
|
503
533
|
|
|
@@ -519,11 +549,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
519
549
|
|
|
520
550
|
|
|
521
551
|
|
|
552
|
+
|
|
522
553
|
WireframeSketch.install = (Vue, opts) => {
|
|
523
554
|
init_js_default()(Vue, opts);
|
|
524
555
|
Vue.component(WireframeSketch.name, WireframeSketch);
|
|
525
556
|
};
|
|
526
557
|
|
|
558
|
+
|
|
527
559
|
}();
|
|
528
560
|
/******/ return __webpack_exports__;
|
|
529
561
|
/******/ })()
|