@kq_npm/client3d_webgl_vue 4.0.5-beta → 4.0.6-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 +43 -180
- package/aspectanalysis/index.js +23 -25
- package/baseterraingallery/index.js +7 -8
- package/boxclip/index.js +23 -25
- package/clientPrint/index.js +4 -6
- package/comparemap/index.js +51 -22
- package/compass/index.js +4 -4
- package/excavatefillanalysis/index.js +23 -25
- package/fixedzoomin/index.js +4 -4
- package/fixedzoomout/index.js +4 -4
- package/flight/index.js +25 -27
- package/floodanalysis/index.js +23 -27
- package/geologicalbodyanalysis/index.js +900 -0
- package/geologicalbodyanalysis/style/geologicalbodyanalysis.css +1 -0
- package/geologicalbodyanalysis/style/index.js +3 -0
- package/gpuspatialquery/index.js +25 -25
- package/hawkeye/index.js +7 -8
- package/headertemp/index.js +4 -5
- package/index.js +20969 -14726
- package/isolineanalysis/index.js +22 -24
- package/light/index.js +1067 -0
- package/light/style/index.js +3 -0
- package/light/style/light.css +1 -0
- package/limitheightanalysis/index.js +751 -0
- package/limitheightanalysis/style/index.js +3 -0
- package/limitheightanalysis/style/limitheightanalysis.css +1 -0
- package/measure/index.js +46 -38
- package/modelFlat/index.js +483 -0
- package/modelFlat/style/index.js +3 -0
- package/modelFlat/style/modelFlat.css +1 -0
- package/modelfilter/index.js +296 -336
- package/modelfilter/style/modelfilter.css +1 -1
- package/modelprofileanalysis/index.js +7 -8
- package/modelselect/index.js +20 -157
- package/package.json +1 -1
- package/particleeffect/index.js +6 -142
- package/planeclip/index.js +23 -25
- package/resetview/index.js +4 -4
- package/roller/index.js +7 -8
- package/scaneffect/index.js +1730 -0
- package/scaneffect/style/index.js +3 -0
- package/scaneffect/style/scaneffect.css +1 -0
- package/scenceview/index.js +13752 -7347
- package/sceneset/index.js +2097 -0
- package/sceneset/style/index.js +3 -0
- package/sceneset/style/sceneset.css +1 -0
- package/screenshot/index.js +7 -8
- package/shadowanalysis/index.js +20 -158
- package/sightlineanalysis/index.js +26 -19
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +23 -25
- package/slopeanalysis/index.js +22 -24
- package/statusbar/index.js +4 -4
- package/style.css +1 -1
- package/terrainoperation/index.js +20 -157
- package/terrainprofileanalysis/index.js +620 -0
- package/terrainprofileanalysis/style/index.js +3 -0
- package/terrainprofileanalysis/style/terrainprofileanalysis.css +1 -0
- package/underground/index.js +7 -8
- package/videofusion/index.js +23 -35
- package/videoproject/index.js +23 -35
- package/viewshedanalysis/index.js +4 -5
- package/weathereffect/index.js +6 -142
- package/wireframesketch/index.js +521 -0
- package/wireframesketch/style/index.js +3 -0
- package/wireframesketch/style/wireframesketch.css +1 -0
|
@@ -0,0 +1,521 @@
|
|
|
1
|
+
/******/ (function() { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
4
|
+
|
|
5
|
+
/***/ 1349:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
7
|
+
|
|
8
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2442);
|
|
9
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_es__WEBPACK_IMPORTED_MODULE_0__);
|
|
10
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5406);
|
|
11
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
16
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
17
|
+
Vue.component("KqMessage", element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (KqMessage)));
|
|
21
|
+
|
|
22
|
+
/***/ }),
|
|
23
|
+
|
|
24
|
+
/***/ 348:
|
|
25
|
+
/***/ (function(module) {
|
|
26
|
+
|
|
27
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
28
|
+
|
|
29
|
+
/***/ }),
|
|
30
|
+
|
|
31
|
+
/***/ 2442:
|
|
32
|
+
/***/ (function(module) {
|
|
33
|
+
|
|
34
|
+
module.exports = require("element-plus/es");
|
|
35
|
+
|
|
36
|
+
/***/ }),
|
|
37
|
+
|
|
38
|
+
/***/ 7080:
|
|
39
|
+
/***/ (function(module) {
|
|
40
|
+
|
|
41
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
42
|
+
|
|
43
|
+
/***/ }),
|
|
44
|
+
|
|
45
|
+
/***/ 826:
|
|
46
|
+
/***/ (function(module) {
|
|
47
|
+
|
|
48
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
49
|
+
|
|
50
|
+
/***/ }),
|
|
51
|
+
|
|
52
|
+
/***/ 9519:
|
|
53
|
+
/***/ (function(module) {
|
|
54
|
+
|
|
55
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
56
|
+
|
|
57
|
+
/***/ }),
|
|
58
|
+
|
|
59
|
+
/***/ 5406:
|
|
60
|
+
/***/ (function(module) {
|
|
61
|
+
|
|
62
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
63
|
+
|
|
64
|
+
/***/ }),
|
|
65
|
+
|
|
66
|
+
/***/ 637:
|
|
67
|
+
/***/ (function(module) {
|
|
68
|
+
|
|
69
|
+
module.exports = require("vue");
|
|
70
|
+
|
|
71
|
+
/***/ }),
|
|
72
|
+
|
|
73
|
+
/***/ 8270:
|
|
74
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
75
|
+
|
|
76
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
77
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
78
|
+
/* harmony export */ });
|
|
79
|
+
function _defineProperty(obj, key, value) {
|
|
80
|
+
if (key in obj) {
|
|
81
|
+
Object.defineProperty(obj, key, {
|
|
82
|
+
value: value,
|
|
83
|
+
enumerable: true,
|
|
84
|
+
configurable: true,
|
|
85
|
+
writable: true
|
|
86
|
+
});
|
|
87
|
+
} else {
|
|
88
|
+
obj[key] = value;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return obj;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/***/ })
|
|
95
|
+
|
|
96
|
+
/******/ });
|
|
97
|
+
/************************************************************************/
|
|
98
|
+
/******/ // The module cache
|
|
99
|
+
/******/ var __webpack_module_cache__ = {};
|
|
100
|
+
/******/
|
|
101
|
+
/******/ // The require function
|
|
102
|
+
/******/ function __webpack_require__(moduleId) {
|
|
103
|
+
/******/ // Check if module is in cache
|
|
104
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
105
|
+
/******/ if (cachedModule !== undefined) {
|
|
106
|
+
/******/ return cachedModule.exports;
|
|
107
|
+
/******/ }
|
|
108
|
+
/******/ // Create a new module (and put it into the cache)
|
|
109
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
110
|
+
/******/ // no module.id needed
|
|
111
|
+
/******/ // no module.loaded needed
|
|
112
|
+
/******/ exports: {}
|
|
113
|
+
/******/ };
|
|
114
|
+
/******/
|
|
115
|
+
/******/ // Execute the module function
|
|
116
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
117
|
+
/******/
|
|
118
|
+
/******/ // Return the exports of the module
|
|
119
|
+
/******/ return module.exports;
|
|
120
|
+
/******/ }
|
|
121
|
+
/******/
|
|
122
|
+
/************************************************************************/
|
|
123
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
124
|
+
/******/ !function() {
|
|
125
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
126
|
+
/******/ __webpack_require__.n = function(module) {
|
|
127
|
+
/******/ var getter = module && module.__esModule ?
|
|
128
|
+
/******/ function() { return module['default']; } :
|
|
129
|
+
/******/ function() { return module; };
|
|
130
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
131
|
+
/******/ return getter;
|
|
132
|
+
/******/ };
|
|
133
|
+
/******/ }();
|
|
134
|
+
/******/
|
|
135
|
+
/******/ /* webpack/runtime/define property getters */
|
|
136
|
+
/******/ !function() {
|
|
137
|
+
/******/ // define getter functions for harmony exports
|
|
138
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
139
|
+
/******/ for(var key in definition) {
|
|
140
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
141
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
142
|
+
/******/ }
|
|
143
|
+
/******/ }
|
|
144
|
+
/******/ };
|
|
145
|
+
/******/ }();
|
|
146
|
+
/******/
|
|
147
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
148
|
+
/******/ !function() {
|
|
149
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
150
|
+
/******/ }();
|
|
151
|
+
/******/
|
|
152
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
153
|
+
/******/ !function() {
|
|
154
|
+
/******/ // define __esModule on exports
|
|
155
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
156
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
157
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
158
|
+
/******/ }
|
|
159
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
160
|
+
/******/ };
|
|
161
|
+
/******/ }();
|
|
162
|
+
/******/
|
|
163
|
+
/************************************************************************/
|
|
164
|
+
var __webpack_exports__ = {};
|
|
165
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
166
|
+
!function() {
|
|
167
|
+
// ESM COMPAT FLAG
|
|
168
|
+
__webpack_require__.r(__webpack_exports__);
|
|
169
|
+
|
|
170
|
+
// EXPORTS
|
|
171
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
172
|
+
"WireframeSketchViewModel": function() { return /* reexport */ WireframeSketchViewModel; },
|
|
173
|
+
"default": function() { return /* reexport */ WireframeSketch; }
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
177
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
178
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
179
|
+
var gis_utils_ = __webpack_require__(826);
|
|
180
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
181
|
+
var defineProperty = __webpack_require__(8270);
|
|
182
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
183
|
+
var message = __webpack_require__(1349);
|
|
184
|
+
;// CONCATENATED MODULE: ./src/webgl/wireframesketch/WireframeSketchViewModel.js
|
|
185
|
+
|
|
186
|
+
//模型滤镜逻辑类
|
|
187
|
+
|
|
188
|
+
class WireframeSketchViewModel {
|
|
189
|
+
// 三维viewer对象
|
|
190
|
+
// 声明线框模式类
|
|
191
|
+
// 草图模式显示
|
|
192
|
+
constructor(scenceView) {
|
|
193
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
194
|
+
|
|
195
|
+
(0,defineProperty/* default */.Z)(this, "_wireFrame", null);
|
|
196
|
+
|
|
197
|
+
(0,defineProperty/* default */.Z)(this, "_sketch", null);
|
|
198
|
+
|
|
199
|
+
this._viewer = scenceView._viewer;
|
|
200
|
+
this._wireFrame = new window.Cesium.Kq3dWireFrame({
|
|
201
|
+
viewer: this._viewer
|
|
202
|
+
}); //声明线框模式类
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
changeFrameRender(key) {
|
|
206
|
+
switch (key) {
|
|
207
|
+
case "1":
|
|
208
|
+
this._wireFrame.type = 1;
|
|
209
|
+
if (this._sketch) this._viewer.effects.remove(this._sketch);
|
|
210
|
+
break;
|
|
211
|
+
|
|
212
|
+
case "2":
|
|
213
|
+
this._wireFrame.type = 0;
|
|
214
|
+
this._sketch = new window.Cesium.Kq3dSketch({
|
|
215
|
+
viewer: this._viewer
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
this._viewer.effects.add(this._sketch); // 草图模式显示
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
break;
|
|
222
|
+
|
|
223
|
+
case "3":
|
|
224
|
+
this._wireFrame.type = 0;
|
|
225
|
+
if (this._sketch) this._viewer.effects.remove(this._sketch); // 移除草图模式
|
|
226
|
+
|
|
227
|
+
break;
|
|
228
|
+
|
|
229
|
+
default:
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
} //清除
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
clear() {
|
|
236
|
+
this._wireFrame.type = 0;
|
|
237
|
+
if (this._wireFrame) this._wireFrame.destroy();
|
|
238
|
+
if (this._sketch) this._viewer.effects.remove(this._sketch);
|
|
239
|
+
} //销毁
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
destroy() {
|
|
243
|
+
this.clear();
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
}
|
|
247
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
248
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
249
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
250
|
+
var util_ = __webpack_require__(9519);
|
|
251
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
252
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
253
|
+
;// 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
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
//语言
|
|
261
|
+
|
|
262
|
+
const __default__ = {
|
|
263
|
+
name: "Kq3dWireframeSketch"
|
|
264
|
+
};
|
|
265
|
+
/* harmony default export */ var WireframeSketchvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
266
|
+
props: {
|
|
267
|
+
//指定组件绑定的viewer对象的div的id
|
|
268
|
+
mapTarget: String,
|
|
269
|
+
// 默认显示线框图
|
|
270
|
+
isCheckFrameRender: {
|
|
271
|
+
type: String,
|
|
272
|
+
default: "3"
|
|
273
|
+
},
|
|
274
|
+
// 是否显示阴影效果
|
|
275
|
+
showShadow: {
|
|
276
|
+
type: Boolean,
|
|
277
|
+
default: true
|
|
278
|
+
},
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
282
|
+
*/
|
|
283
|
+
position: [String, Object],
|
|
284
|
+
// 是否生成HeaderTemp
|
|
285
|
+
showHeaderTemp: {
|
|
286
|
+
type: Boolean,
|
|
287
|
+
default: false
|
|
288
|
+
},
|
|
289
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
290
|
+
isCollapseHeaderTemp: {
|
|
291
|
+
type: Boolean,
|
|
292
|
+
default: false
|
|
293
|
+
},
|
|
294
|
+
// HeaderTemp标题
|
|
295
|
+
headerTempTitle: {
|
|
296
|
+
type: String
|
|
297
|
+
},
|
|
298
|
+
// HeaderTemp图标
|
|
299
|
+
headerTempIcon: {
|
|
300
|
+
type: [Object, String],
|
|
301
|
+
default: client_icons_vue_.IconWireframeSketch
|
|
302
|
+
},
|
|
303
|
+
// HeaderTemp Title&Icon的位置
|
|
304
|
+
isRight: {
|
|
305
|
+
type: Boolean,
|
|
306
|
+
default: true
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
|
|
310
|
+
setup(__props, {
|
|
311
|
+
expose
|
|
312
|
+
}) {
|
|
313
|
+
const props = __props;
|
|
314
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
315
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
316
|
+
let viewModel = null;
|
|
317
|
+
let ref_box = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
318
|
+
let checkbox_data = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(["2"]);
|
|
319
|
+
const {
|
|
320
|
+
proxy
|
|
321
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
322
|
+
// 组件容器Ref
|
|
323
|
+
|
|
324
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
325
|
+
|
|
326
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
327
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
328
|
+
|
|
329
|
+
let {
|
|
330
|
+
locale,
|
|
331
|
+
messages
|
|
332
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
333
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
334
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
335
|
+
language.value = messages.value[newVal]["webgl"];
|
|
336
|
+
headerTempTitle.value = language.value.wireFrameSketch;
|
|
337
|
+
});
|
|
338
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
339
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
340
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
341
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
342
|
+
});
|
|
343
|
+
watchCreateHeaderTemp();
|
|
344
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
345
|
+
watchCreateHeaderTemp();
|
|
346
|
+
});
|
|
347
|
+
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
348
|
+
//父组件ScenceView初始化完成后执行
|
|
349
|
+
|
|
350
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
351
|
+
if (scenceView) {
|
|
352
|
+
viewModel = new WireframeSketchViewModel(scenceView);
|
|
353
|
+
onChangeFrameRender(props.isCheckFrameRender);
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
});
|
|
357
|
+
/**
|
|
358
|
+
* @description 监听header生成
|
|
359
|
+
*/
|
|
360
|
+
|
|
361
|
+
const watchCreateHeaderTemp = () => {
|
|
362
|
+
if (props.showHeaderTemp) {
|
|
363
|
+
// 生成headerTemp
|
|
364
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
365
|
+
}
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
function onChangeFrameRender(val) {
|
|
369
|
+
checkbox_data.value = [];
|
|
370
|
+
checkbox_data.value.push(val);
|
|
371
|
+
setTimeout(() => {
|
|
372
|
+
if (viewModel) viewModel.changeFrameRender(val);
|
|
373
|
+
}, 500);
|
|
374
|
+
} // 清除
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
function clear() {
|
|
378
|
+
viewModel && viewModel.clear();
|
|
379
|
+
} // 销毁
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
383
|
+
viewModel && viewModel.destroy();
|
|
384
|
+
});
|
|
385
|
+
expose({
|
|
386
|
+
clear
|
|
387
|
+
});
|
|
388
|
+
return (_ctx, _cache) => {
|
|
389
|
+
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
390
|
+
|
|
391
|
+
const _component_kq_checkbox_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox-group");
|
|
392
|
+
|
|
393
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
394
|
+
|
|
395
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
396
|
+
|
|
397
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
398
|
+
|
|
399
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
400
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-wireframe-sketch", {
|
|
401
|
+
'kq-box-shadow': __props.showShadow
|
|
402
|
+
}]),
|
|
403
|
+
ref_key: "boxRef",
|
|
404
|
+
ref: boxRef
|
|
405
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
406
|
+
key: 0,
|
|
407
|
+
ref_key: "headerTempRef",
|
|
408
|
+
ref: headerTempRef
|
|
409
|
+
}, null, 512
|
|
410
|
+
/* NEED_PATCH */
|
|
411
|
+
)) : (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", {
|
|
412
|
+
class: "kq3d-wireframe-sketch-box",
|
|
413
|
+
ref_key: "ref_box",
|
|
414
|
+
ref: ref_box
|
|
415
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
416
|
+
"label-width": '90px',
|
|
417
|
+
"label-position": "left"
|
|
418
|
+
}, {
|
|
419
|
+
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_row, null, {
|
|
420
|
+
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, {
|
|
421
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).operationMode
|
|
422
|
+
}, {
|
|
423
|
+
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_row, {
|
|
424
|
+
style: {
|
|
425
|
+
"display": "flex"
|
|
426
|
+
}
|
|
427
|
+
}, {
|
|
428
|
+
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_checkbox_group, {
|
|
429
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(checkbox_data),
|
|
430
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(checkbox_data) ? checkbox_data.value = $event : checkbox_data = $event)
|
|
431
|
+
}, {
|
|
432
|
+
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_checkbox, {
|
|
433
|
+
label: "3",
|
|
434
|
+
onChange: _cache[0] || (_cache[0] = $event => onChangeFrameRender('3'))
|
|
435
|
+
}, {
|
|
436
|
+
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
|
|
437
|
+
/* TEXT */
|
|
438
|
+
)]),
|
|
439
|
+
_: 1
|
|
440
|
+
/* STABLE */
|
|
441
|
+
|
|
442
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_checkbox, {
|
|
443
|
+
label: "1",
|
|
444
|
+
onChange: _cache[1] || (_cache[1] = $event => onChangeFrameRender('1'))
|
|
445
|
+
}, {
|
|
446
|
+
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
|
|
447
|
+
/* TEXT */
|
|
448
|
+
)]),
|
|
449
|
+
_: 1
|
|
450
|
+
/* STABLE */
|
|
451
|
+
|
|
452
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_checkbox, {
|
|
453
|
+
label: "2",
|
|
454
|
+
onChange: _cache[2] || (_cache[2] = $event => onChangeFrameRender('2'))
|
|
455
|
+
}, {
|
|
456
|
+
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
|
|
457
|
+
/* TEXT */
|
|
458
|
+
)]),
|
|
459
|
+
_: 1
|
|
460
|
+
/* STABLE */
|
|
461
|
+
|
|
462
|
+
})]),
|
|
463
|
+
_: 1
|
|
464
|
+
/* STABLE */
|
|
465
|
+
|
|
466
|
+
}, 8
|
|
467
|
+
/* PROPS */
|
|
468
|
+
, ["modelValue"])]),
|
|
469
|
+
_: 1
|
|
470
|
+
/* STABLE */
|
|
471
|
+
|
|
472
|
+
})]),
|
|
473
|
+
_: 1
|
|
474
|
+
/* STABLE */
|
|
475
|
+
|
|
476
|
+
}, 8
|
|
477
|
+
/* PROPS */
|
|
478
|
+
, ["label"])]),
|
|
479
|
+
_: 1
|
|
480
|
+
/* STABLE */
|
|
481
|
+
|
|
482
|
+
})]),
|
|
483
|
+
_: 1
|
|
484
|
+
/* STABLE */
|
|
485
|
+
|
|
486
|
+
})], 512
|
|
487
|
+
/* NEED_PATCH */
|
|
488
|
+
)], 2
|
|
489
|
+
/* CLASS */
|
|
490
|
+
);
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
}));
|
|
495
|
+
;// CONCATENATED MODULE: ./src/webgl/wireframesketch/WireframeSketch.vue?vue&type=script&setup=true&lang=js
|
|
496
|
+
|
|
497
|
+
;// CONCATENATED MODULE: ./src/webgl/wireframesketch/WireframeSketch.vue
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
const __exports__ = WireframeSketchvue_type_script_setup_true_lang_js;
|
|
502
|
+
|
|
503
|
+
/* harmony default export */ var WireframeSketch = (__exports__);
|
|
504
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
505
|
+
var init_js_ = __webpack_require__(5406);
|
|
506
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
507
|
+
;// CONCATENATED MODULE: ./src/webgl/wireframesketch/index.js
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
WireframeSketch.install = (Vue, opts) => {
|
|
513
|
+
init_js_default()(Vue, opts);
|
|
514
|
+
Vue.component(WireframeSketch.name, WireframeSketch);
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
}();
|
|
519
|
+
module.exports = __webpack_exports__;
|
|
520
|
+
/******/ })()
|
|
521
|
+
;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.kq3d-wireframe-sketch{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;width:310px;background-color:var(--kq-bg-color)}.kq3d-wireframe-sketch .kq3d-wireframe-sketch-box .kq-form-item{margin-bottom:0}
|