@kq_npm/client3d_webgl_vue 4.1.6-beta → 4.1.8-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 +51 -39
- package/aspectanalysis/index.js +45 -33
- package/baseterraingallery/index.js +29 -18
- package/boxclip/index.js +45 -33
- package/clientPrint/index.js +23 -12
- package/comparemap/index.js +23 -12
- package/compass/index.js +23 -12
- package/excavatefillanalysis/index.js +45 -33
- package/fixedzoomin/index.js +23 -12
- package/fixedzoomout/index.js +23 -12
- package/flight/index.js +45 -33
- package/floodanalysis/index.js +48 -36
- package/geologicalbodyanalysis/index.js +45 -33
- package/gpuspatialquery/index.js +45 -33
- package/hawkeye/index.js +23 -12
- package/headertemp/index.js +97 -37
- package/index.js +5473 -4881
- package/isolineanalysis/index.js +48 -36
- package/light/index.js +26 -15
- package/limitheightanalysis/index.js +26 -15
- package/measure/index.js +45 -33
- package/modelFlat/index.js +445 -215
- package/modelFlat/style/index.js +1 -1
- package/modelFlat/style/modelFlat.css +1 -1
- package/modelexcavate/index.js +53 -43
- package/modelfilter/index.js +48 -32
- package/modelprofileanalysis/index.js +26 -15
- package/modelselect/index.js +45 -33
- package/package.json +1 -1
- package/particleeffect/index.js +29 -18
- package/planeclip/index.js +45 -33
- package/resetview/index.js +23 -12
- package/roller/index.js +26 -15
- package/scaneffect/index.js +48 -36
- package/scenceview/index.js +847 -279
- package/sceneset/index.js +26 -15
- package/screenshot/index.js +26 -15
- package/shadowanalysis/index.js +48 -36
- package/sightlineanalysis/index.js +29 -18
- package/skylineanalysis/index.js +45 -33
- package/slopeanalysis/index.js +48 -36
- package/statusbar/index.js +23 -12
- package/style.css +1 -1
- package/terrainoperation/index.js +45 -33
- package/terrainprofileanalysis/index.js +45 -33
- package/underground/index.js +26 -15
- package/videofusion/index.js +45 -33
- package/videoproject/index.js +45 -33
- package/viewshedanalysis/index.js +29 -18
- package/weathereffect/index.js +29 -18
- package/wireframesketch/index.js +42 -33
package/modelFlat/index.js
CHANGED
|
@@ -1,7 +1,134 @@
|
|
|
1
|
-
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
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
|
+
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
|
+
var a = typeof exports === 'object' ? 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")) : 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"]);
|
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
|
+
}
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
|
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
|
2
12
|
/******/ "use strict";
|
|
3
|
-
/******/
|
|
4
|
-
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 909:
|
|
16
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// EXPORTS
|
|
20
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
21
|
+
"Z": function() { return /* binding */ message; }
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
;// CONCATENATED MODULE: external "element-plus/es"
|
|
25
|
+
var es_namespaceObject = require("element-plus/es");
|
|
26
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
27
|
+
var init_js_ = __webpack_require__(7997);
|
|
28
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
29
|
+
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
34
|
+
init_js_default()(Vue, opts);
|
|
35
|
+
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
39
|
+
|
|
40
|
+
/***/ }),
|
|
41
|
+
|
|
42
|
+
/***/ 348:
|
|
43
|
+
/***/ (function(module) {
|
|
44
|
+
|
|
45
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
46
|
+
|
|
47
|
+
/***/ }),
|
|
48
|
+
|
|
49
|
+
/***/ 7080:
|
|
50
|
+
/***/ (function(module) {
|
|
51
|
+
|
|
52
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
53
|
+
|
|
54
|
+
/***/ }),
|
|
55
|
+
|
|
56
|
+
/***/ 7135:
|
|
57
|
+
/***/ (function(module) {
|
|
58
|
+
|
|
59
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
60
|
+
|
|
61
|
+
/***/ }),
|
|
62
|
+
|
|
63
|
+
/***/ 3458:
|
|
64
|
+
/***/ (function(module) {
|
|
65
|
+
|
|
66
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
67
|
+
|
|
68
|
+
/***/ }),
|
|
69
|
+
|
|
70
|
+
/***/ 7997:
|
|
71
|
+
/***/ (function(module) {
|
|
72
|
+
|
|
73
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
74
|
+
|
|
75
|
+
/***/ }),
|
|
76
|
+
|
|
77
|
+
/***/ 1895:
|
|
78
|
+
/***/ (function(module) {
|
|
79
|
+
|
|
80
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
81
|
+
|
|
82
|
+
/***/ }),
|
|
83
|
+
|
|
84
|
+
/***/ 8270:
|
|
85
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
86
|
+
|
|
87
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
88
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
89
|
+
/* harmony export */ });
|
|
90
|
+
function _defineProperty(obj, key, value) {
|
|
91
|
+
if (key in obj) {
|
|
92
|
+
Object.defineProperty(obj, key, {
|
|
93
|
+
value: value,
|
|
94
|
+
enumerable: true,
|
|
95
|
+
configurable: true,
|
|
96
|
+
writable: true
|
|
97
|
+
});
|
|
98
|
+
} else {
|
|
99
|
+
obj[key] = value;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return obj;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/***/ })
|
|
106
|
+
|
|
107
|
+
/******/ });
|
|
108
|
+
/************************************************************************/
|
|
109
|
+
/******/ // The module cache
|
|
110
|
+
/******/ var __webpack_module_cache__ = {};
|
|
111
|
+
/******/
|
|
112
|
+
/******/ // The require function
|
|
113
|
+
/******/ function __webpack_require__(moduleId) {
|
|
114
|
+
/******/ // Check if module is in cache
|
|
115
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
116
|
+
/******/ if (cachedModule !== undefined) {
|
|
117
|
+
/******/ return cachedModule.exports;
|
|
118
|
+
/******/ }
|
|
119
|
+
/******/ // Create a new module (and put it into the cache)
|
|
120
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
121
|
+
/******/ // no module.id needed
|
|
122
|
+
/******/ // no module.loaded needed
|
|
123
|
+
/******/ exports: {}
|
|
124
|
+
/******/ };
|
|
125
|
+
/******/
|
|
126
|
+
/******/ // Execute the module function
|
|
127
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
128
|
+
/******/
|
|
129
|
+
/******/ // Return the exports of the module
|
|
130
|
+
/******/ return module.exports;
|
|
131
|
+
/******/ }
|
|
5
132
|
/******/
|
|
6
133
|
/************************************************************************/
|
|
7
134
|
/******/ /* webpack/runtime/compat get default export */
|
|
@@ -46,6 +173,8 @@
|
|
|
46
173
|
/******/
|
|
47
174
|
/************************************************************************/
|
|
48
175
|
var __webpack_exports__ = {};
|
|
176
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
177
|
+
!function() {
|
|
49
178
|
// ESM COMPAT FLAG
|
|
50
179
|
__webpack_require__.r(__webpack_exports__);
|
|
51
180
|
|
|
@@ -55,107 +184,96 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
55
184
|
"default": function() { return /* reexport */ ModelFlat; }
|
|
56
185
|
});
|
|
57
186
|
|
|
58
|
-
|
|
59
|
-
var
|
|
60
|
-
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
value: value,
|
|
67
|
-
enumerable: true,
|
|
68
|
-
configurable: true,
|
|
69
|
-
writable: true
|
|
70
|
-
});
|
|
71
|
-
} else {
|
|
72
|
-
obj[key] = value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return obj;
|
|
76
|
-
}
|
|
77
|
-
;// CONCATENATED MODULE: external "element-plus/es"
|
|
78
|
-
var es_namespaceObject = require("element-plus/es");
|
|
79
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
80
|
-
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
81
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
82
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
87
|
-
init_js_default()(Vue, opts);
|
|
88
|
-
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
187
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
188
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
189
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
190
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
191
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
192
|
+
var defineProperty = __webpack_require__(8270);
|
|
193
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
194
|
+
var message = __webpack_require__(909);
|
|
92
195
|
;// CONCATENATED MODULE: ./src/webgl/modelFlat/ModelFlatViewModel.js
|
|
93
196
|
|
|
94
197
|
//模型拾取逻辑类
|
|
95
198
|
|
|
96
199
|
class ModelFlatViewModel {
|
|
97
200
|
//三维viewer对象
|
|
98
|
-
//模型平整三维对象
|
|
99
201
|
//绘制管理对象
|
|
100
202
|
//全局参数
|
|
101
|
-
//绘制的坐标点集合
|
|
102
|
-
//平整高度
|
|
103
203
|
//绘制完成监听事件
|
|
204
|
+
// 平整对象
|
|
205
|
+
//平整辅助面数组
|
|
104
206
|
constructor(scenceView, viewModel) {
|
|
105
|
-
|
|
207
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
106
208
|
|
|
107
|
-
|
|
209
|
+
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
108
210
|
|
|
109
|
-
|
|
211
|
+
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
110
212
|
|
|
111
|
-
|
|
213
|
+
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
112
214
|
|
|
113
|
-
|
|
215
|
+
(0,defineProperty/* default */.Z)(this, "_flatteningPolygonTex", null);
|
|
114
216
|
|
|
115
|
-
|
|
217
|
+
(0,defineProperty/* default */.Z)(this, "_assistPolygons", []);
|
|
116
218
|
|
|
117
|
-
|
|
219
|
+
(0,defineProperty/* default */.Z)(this, "currentFlatPolygonIndex", -1);
|
|
118
220
|
|
|
119
221
|
this._viewer = scenceView._viewer;
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
123
|
-
|
|
124
|
-
|
|
222
|
+
this._options = viewModel;
|
|
223
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
224
|
+
this._drawManager = scenceView._drawManager; //Create flattenning controller
|
|
225
|
+
|
|
226
|
+
let kq3dFlattening = new window.Cesium.Kq3dFlattenning(this._viewer, {}); //Create flattenedPolygonTexture
|
|
227
|
+
|
|
228
|
+
this._flatteningPolygonTex = kq3dFlattening.createFlattenedPolygonTexture();
|
|
229
|
+
var models = this._viewer.scene.primitives._primitives;
|
|
230
|
+
|
|
231
|
+
for (let i = 0; i < models.length; i++) {
|
|
232
|
+
if (models[i]._url) {
|
|
233
|
+
//Attach 3dTiles
|
|
234
|
+
this._flatteningPolygonTex.attachTileset(models[i]);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
125
238
|
let that = this;
|
|
126
239
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
127
240
|
if (shape) {
|
|
128
|
-
that.
|
|
129
|
-
|
|
130
|
-
if (that._terrainStyle === 1) {
|
|
131
|
-
that._positions.push(shape._controlPoints);
|
|
132
|
-
|
|
133
|
-
if (that._terrainexcavationext) {
|
|
134
|
-
that.setTerrainExcavationAddPolygon();
|
|
135
|
-
} else {
|
|
136
|
-
this.createTerrainExcavation(() => {
|
|
137
|
-
that.setTerrainExcavationAddPolygon();
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
} else if (that._terrainStyle === 2) {
|
|
141
|
-
if (that._terrainmodification) {
|
|
142
|
-
that.setTerrainModification();
|
|
143
|
-
} else {
|
|
144
|
-
this.createTerrainModification();
|
|
145
|
-
}
|
|
146
|
-
}
|
|
241
|
+
that._options.positions = shape._controlPoints;
|
|
242
|
+
that.createFlat();
|
|
147
243
|
|
|
148
244
|
that._drawManager.clear();
|
|
149
245
|
}
|
|
150
246
|
});
|
|
151
|
-
}
|
|
247
|
+
} // 创建平整
|
|
152
248
|
|
|
153
|
-
setCursor(style) {
|
|
154
|
-
this._viewer.canvas.style.cursor = style;
|
|
155
|
-
} //拾取
|
|
156
249
|
|
|
250
|
+
createFlat() {
|
|
251
|
+
// 创建压平面
|
|
252
|
+
let curAssitPolygon = this._viewer.entities.add({
|
|
253
|
+
polygon: {
|
|
254
|
+
hierarchy: this._options.positions,
|
|
255
|
+
material: window.Cesium.Color.fromAlpha(window.Cesium.Color.YELLOW, 0.3)
|
|
256
|
+
},
|
|
257
|
+
show: this._options.flatteningShow ? true : false
|
|
258
|
+
});
|
|
259
|
+
|
|
260
|
+
this._assistPolygons.push(curAssitPolygon);
|
|
157
261
|
|
|
158
|
-
|
|
262
|
+
let myPolygon = window.Cesium.PolygonGeometry.fromPositions({
|
|
263
|
+
positions: this._options.positions,
|
|
264
|
+
height: this._options.flatHeight
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
this._flatteningPolygonTex.addFlattenedPolygon(myPolygon);
|
|
268
|
+
} // 获取平整数量
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
getFlatCount() {
|
|
272
|
+
return this._flatteningPolygonTex.getFlattenedPolygons().length;
|
|
273
|
+
} // 开始分析
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
start() {
|
|
159
277
|
// 判断是否添加了模型
|
|
160
278
|
var flag = false;
|
|
161
279
|
var models = this._viewer.scene.primitives._primitives;
|
|
@@ -167,51 +285,101 @@ class ModelFlatViewModel {
|
|
|
167
285
|
}
|
|
168
286
|
|
|
169
287
|
if (flag) {
|
|
170
|
-
this.
|
|
171
|
-
|
|
288
|
+
this.remove();
|
|
289
|
+
|
|
290
|
+
this._drawManager.startDraw("polygon", {
|
|
291
|
+
clampToGround: true
|
|
292
|
+
});
|
|
172
293
|
} else {
|
|
173
|
-
message({
|
|
174
|
-
message: "
|
|
294
|
+
(0,message/* default */.Z)({
|
|
295
|
+
message: "请添加模型后绘制!",
|
|
175
296
|
type: "warning"
|
|
176
297
|
});
|
|
177
298
|
}
|
|
178
|
-
}
|
|
299
|
+
} // 切换高度重新计算
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
setHeight(val) {
|
|
303
|
+
this._options.flatHeight = Number(val);
|
|
304
|
+
|
|
305
|
+
if (this.currentFlatPolygonIndex === -1) {
|
|
306
|
+
this._flatteningPolygonTex.setFlattenedPolygonHeight(-1, Number(val));
|
|
307
|
+
} else {
|
|
308
|
+
this._flatteningPolygonTex.setFlattenedPolygonHeight(this.currentFlatPolygonIndex, Number(val));
|
|
309
|
+
}
|
|
310
|
+
} // 切换辅助面显示
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
setFlatteningShow(val) {
|
|
314
|
+
this._options.flatteningShow = val;
|
|
315
|
+
|
|
316
|
+
if (val) {
|
|
317
|
+
this._assistPolygons.forEach(item => {
|
|
318
|
+
item.show = true;
|
|
319
|
+
});
|
|
320
|
+
} else {
|
|
321
|
+
this._assistPolygons.forEach(item => {
|
|
322
|
+
item.show = false;
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
} // 设置平整实例
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
setCurrentFlatPolygonIndex(val) {
|
|
329
|
+
this.currentFlatPolygonIndex = val;
|
|
330
|
+
} // 清除绘制
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
remove() {
|
|
334
|
+
this._drawManager.stopDraw();
|
|
335
|
+
} // 清除
|
|
179
336
|
|
|
180
337
|
|
|
181
338
|
clear() {
|
|
182
|
-
this.
|
|
183
|
-
|
|
184
|
-
this.
|
|
185
|
-
|
|
339
|
+
this.remove();
|
|
340
|
+
|
|
341
|
+
this._flatteningPolygonTex.removeAllFlattenedPolygon();
|
|
342
|
+
|
|
343
|
+
for (var i = 0; i < this._assistPolygons.length; i++) {
|
|
344
|
+
this._viewer.entities.remove(this._assistPolygons[i]);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
this._assistPolygons = [];
|
|
186
348
|
} //销毁
|
|
187
349
|
|
|
188
350
|
|
|
189
351
|
destroy() {
|
|
190
352
|
this.clear();
|
|
191
|
-
this._handler && this._handler.removeInputAction(Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
192
353
|
}
|
|
193
354
|
|
|
194
355
|
}
|
|
195
|
-
|
|
196
|
-
var
|
|
197
|
-
|
|
198
|
-
var
|
|
199
|
-
|
|
200
|
-
var
|
|
356
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
357
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
358
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
359
|
+
var util_ = __webpack_require__(3458);
|
|
360
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
361
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
201
362
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelFlat/ModelFlat.vue?vue&type=script&setup=true&lang=js
|
|
202
363
|
|
|
203
364
|
const _hoisted_1 = {
|
|
204
|
-
class: "kq3d-model-flat-
|
|
365
|
+
class: "kq3d-model-flat-box",
|
|
366
|
+
ref: "ref_box"
|
|
205
367
|
};
|
|
206
368
|
const _hoisted_2 = {
|
|
207
|
-
class: "
|
|
369
|
+
class: "kq3d-model-flat-span"
|
|
370
|
+
};
|
|
371
|
+
const _hoisted_3 = {
|
|
372
|
+
class: "kq3d-model-flat-span"
|
|
373
|
+
};
|
|
374
|
+
const _hoisted_4 = {
|
|
375
|
+
class: "kq3d-model-flat-footer"
|
|
208
376
|
};
|
|
209
377
|
|
|
210
378
|
|
|
211
379
|
|
|
212
380
|
|
|
213
381
|
|
|
214
|
-
|
|
382
|
+
//语言
|
|
215
383
|
|
|
216
384
|
const __default__ = {
|
|
217
385
|
name: "Kq3dModelFlat"
|
|
@@ -220,26 +388,43 @@ const __default__ = {
|
|
|
220
388
|
props: {
|
|
221
389
|
//指定组件绑定的viewer对象的div的id
|
|
222
390
|
mapTarget: String,
|
|
223
|
-
//
|
|
224
|
-
|
|
225
|
-
type:
|
|
226
|
-
},
|
|
227
|
-
// 高亮颜色
|
|
228
|
-
highlightColor: {
|
|
229
|
-
type: String,
|
|
230
|
-
default: "#FF0000"
|
|
231
|
-
},
|
|
232
|
-
// 模型属性唯一值字段集合
|
|
233
|
-
modeFiledArray: {
|
|
234
|
-
type: Array,
|
|
235
|
-
default: () => {
|
|
236
|
-
return null;
|
|
237
|
-
}
|
|
391
|
+
// 设置参数
|
|
392
|
+
settingParams: {
|
|
393
|
+
type: Object
|
|
238
394
|
},
|
|
239
395
|
// 是否显示阴影效果
|
|
240
396
|
showShadow: {
|
|
241
397
|
type: Boolean,
|
|
242
398
|
default: true
|
|
399
|
+
},
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
403
|
+
*/
|
|
404
|
+
position: [String, Object],
|
|
405
|
+
// 是否生成HeaderTemp
|
|
406
|
+
showHeaderTemp: {
|
|
407
|
+
type: Boolean,
|
|
408
|
+
default: false
|
|
409
|
+
},
|
|
410
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
411
|
+
isCollapseHeaderTemp: {
|
|
412
|
+
type: Boolean,
|
|
413
|
+
default: false
|
|
414
|
+
},
|
|
415
|
+
// HeaderTemp标题
|
|
416
|
+
headerTempTitle: {
|
|
417
|
+
type: String
|
|
418
|
+
},
|
|
419
|
+
// HeaderTemp图标
|
|
420
|
+
headerTempIcon: {
|
|
421
|
+
type: [Object, String],
|
|
422
|
+
default: client_icons_vue_.IconModelSmoothing
|
|
423
|
+
},
|
|
424
|
+
// HeaderTemp Title&Icon的位置
|
|
425
|
+
isRight: {
|
|
426
|
+
type: Boolean,
|
|
427
|
+
default: true
|
|
243
428
|
}
|
|
244
429
|
},
|
|
245
430
|
|
|
@@ -247,49 +432,54 @@ const __default__ = {
|
|
|
247
432
|
expose
|
|
248
433
|
}) {
|
|
249
434
|
const props = __props;
|
|
250
|
-
let
|
|
251
|
-
|
|
252
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
253
|
-
let viewModel = null;
|
|
254
|
-
let ref_box = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 获取组件传参
|
|
435
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
436
|
+
let viewModel = null; // 获取组件传参
|
|
255
437
|
|
|
256
|
-
let formItem = reactive({
|
|
438
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
257
439
|
flatHeight: props.settingParams && props.settingParams.excavationDepth || 10,
|
|
440
|
+
// 模型平整深度
|
|
258
441
|
minFlatDepth: props.settingParams && props.settingParams.minExcavationDepth || 0,
|
|
259
|
-
//
|
|
260
|
-
maxFlatDepth: props.settingParams && props.settingParams.maxExcavationDepth || 100
|
|
442
|
+
// 模型平整深度范围最小值
|
|
443
|
+
maxFlatDepth: props.settingParams && props.settingParams.maxExcavationDepth || 100,
|
|
444
|
+
// 模型平整深度范围最大值
|
|
445
|
+
flatteningShow: props.settingParams && props.settingParams.maxExcavationDepth || true // 压平面是否显示
|
|
261
446
|
|
|
262
447
|
}); // 组件容器Ref
|
|
263
448
|
|
|
264
|
-
let boxRef = (0,
|
|
449
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
265
450
|
|
|
266
|
-
let headerTemp = (0,
|
|
267
|
-
let headerTempRef = (0,
|
|
451
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
452
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
268
453
|
|
|
269
454
|
let {
|
|
270
455
|
locale,
|
|
271
456
|
messages
|
|
272
|
-
} = (0,
|
|
273
|
-
let headerTempTitle = (0,
|
|
274
|
-
(0,
|
|
457
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
458
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
459
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
275
460
|
language.value = messages.value[newVal]["webgl"];
|
|
276
|
-
headerTempTitle.value = language.value.
|
|
461
|
+
headerTempTitle.value = language.value.modelFlatTitle;
|
|
277
462
|
});
|
|
278
|
-
(0,
|
|
279
|
-
(0,
|
|
280
|
-
(0,
|
|
281
|
-
(0,
|
|
463
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
464
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
465
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
466
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
282
467
|
});
|
|
283
468
|
watchCreateHeaderTemp();
|
|
284
|
-
(0,
|
|
469
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
285
470
|
watchCreateHeaderTemp();
|
|
286
471
|
}); //父组件ScenceView初始化完成后执行
|
|
287
472
|
|
|
288
|
-
|
|
473
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
289
474
|
if (scenceView) {
|
|
290
|
-
viewModel = new ModelFlatViewModel(scenceView,
|
|
291
|
-
|
|
292
|
-
|
|
475
|
+
viewModel = new ModelFlatViewModel(scenceView, {
|
|
476
|
+
flatHeight: formItem.flatHeight,
|
|
477
|
+
flatteningShow: formItem.flatteningShow
|
|
478
|
+
});
|
|
479
|
+
setTimeout(() => {
|
|
480
|
+
setCurrentFlatPolygonIndex(0);
|
|
481
|
+
console.log(getFlatCount());
|
|
482
|
+
}, 1500);
|
|
293
483
|
}
|
|
294
484
|
});
|
|
295
485
|
});
|
|
@@ -300,136 +490,171 @@ const __default__ = {
|
|
|
300
490
|
const watchCreateHeaderTemp = () => {
|
|
301
491
|
if (props.showHeaderTemp) {
|
|
302
492
|
// 生成headerTemp
|
|
303
|
-
headerTemp.value = (0,
|
|
493
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
304
494
|
}
|
|
305
|
-
};
|
|
495
|
+
}; // 调整平整深度
|
|
306
496
|
|
|
307
|
-
function pick() {
|
|
308
|
-
viewModel && viewModel.pick();
|
|
309
|
-
}
|
|
310
497
|
|
|
311
|
-
function
|
|
312
|
-
|
|
313
|
-
|
|
498
|
+
function changeHeight() {
|
|
499
|
+
viewModel && viewModel.setHeight(formItem.flatHeight);
|
|
500
|
+
} // 调整压平面是否显示
|
|
314
501
|
|
|
315
|
-
if (props.aliasNameReflection) {
|
|
316
|
-
let arrKeys = [];
|
|
317
502
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
503
|
+
function onChangeFlatteningShow() {
|
|
504
|
+
viewModel && viewModel.setFlatteningShow(formItem.flatteningShow);
|
|
505
|
+
} // 获取平整分析个数
|
|
321
506
|
|
|
322
|
-
props.aliasNameReflection(arrKeys, item => {
|
|
323
|
-
// console.log(item);
|
|
324
|
-
for (let key in properties) {
|
|
325
|
-
propertiesData.push({
|
|
326
|
-
field: item[key] ? item[key] : key,
|
|
327
|
-
value: properties[key]
|
|
328
|
-
});
|
|
329
|
-
}
|
|
330
|
-
});
|
|
331
|
-
} else {
|
|
332
|
-
for (let key in properties) {
|
|
333
|
-
propertiesData.push({
|
|
334
|
-
field: key,
|
|
335
|
-
value: properties[key]
|
|
336
|
-
});
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
507
|
|
|
340
|
-
|
|
341
|
-
|
|
508
|
+
function getFlatCount() {
|
|
509
|
+
return viewModel && viewModel.getFlatCount();
|
|
510
|
+
} // 设置操作平整实例
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
function setCurrentFlatPolygonIndex(val) {
|
|
514
|
+
viewModel && viewModel.setCurrentFlatPolygonIndex(val);
|
|
515
|
+
} // 开始分析
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
function startOperation() {
|
|
519
|
+
viewModel && viewModel.start();
|
|
520
|
+
} // 清除
|
|
521
|
+
|
|
342
522
|
|
|
343
523
|
function clear() {
|
|
344
|
-
layerNameTitle.value = "";
|
|
345
|
-
tableData.value = [];
|
|
346
524
|
viewModel && viewModel.clear();
|
|
347
525
|
} // 销毁
|
|
348
526
|
|
|
349
527
|
|
|
350
|
-
(0,
|
|
528
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
351
529
|
viewModel && viewModel.destroy();
|
|
352
530
|
});
|
|
353
531
|
expose({
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
532
|
+
getFlatCount,
|
|
533
|
+
setCurrentFlatPolygonIndex,
|
|
534
|
+
clear
|
|
357
535
|
});
|
|
358
536
|
return (_ctx, _cache) => {
|
|
359
|
-
const _component_kq_col = (0,
|
|
537
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
538
|
+
|
|
539
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
360
540
|
|
|
361
|
-
const
|
|
541
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
362
542
|
|
|
363
|
-
const _component_kq_row = (0,
|
|
543
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
364
544
|
|
|
365
|
-
const
|
|
545
|
+
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
366
546
|
|
|
367
|
-
|
|
368
|
-
|
|
547
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
548
|
+
|
|
549
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
550
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-flat", {
|
|
369
551
|
'kq-box-shadow': __props.showShadow
|
|
370
552
|
}]),
|
|
371
553
|
ref_key: "boxRef",
|
|
372
554
|
ref: boxRef
|
|
373
|
-
}, [
|
|
555
|
+
}, [__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)), {
|
|
374
556
|
key: 0,
|
|
375
557
|
ref_key: "headerTempRef",
|
|
376
558
|
ref: headerTempRef
|
|
377
559
|
}, null, 512
|
|
378
560
|
/* NEED_PATCH */
|
|
379
|
-
)) : (0,
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
385
|
-
span: _ctx.currentLang === 'zh' ? 7 : 10
|
|
561
|
+
)) : (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", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
562
|
+
gutter: 10
|
|
563
|
+
}, {
|
|
564
|
+
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, {
|
|
565
|
+
span: 7
|
|
386
566
|
}, {
|
|
387
|
-
default: (0,
|
|
567
|
+
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).flatHeight), 1
|
|
388
568
|
/* TEXT */
|
|
389
569
|
)]),
|
|
390
570
|
_: 1
|
|
391
571
|
/* STABLE */
|
|
392
572
|
|
|
393
|
-
},
|
|
394
|
-
|
|
395
|
-
,
|
|
396
|
-
|
|
573
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
574
|
+
span: 11
|
|
575
|
+
}, {
|
|
576
|
+
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_slider, {
|
|
577
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatHeight,
|
|
578
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatHeight = $event),
|
|
579
|
+
step: 1,
|
|
580
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFlatDepth,
|
|
581
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFlatDepth,
|
|
582
|
+
onChange: _cache[1] || (_cache[1] = $event => changeHeight()),
|
|
583
|
+
onClick: _cache[2] || (_cache[2] = $event => changeHeight())
|
|
584
|
+
}, null, 8
|
|
585
|
+
/* PROPS */
|
|
586
|
+
, ["modelValue", "min", "max"])]),
|
|
587
|
+
_: 1
|
|
588
|
+
/* STABLE */
|
|
589
|
+
|
|
590
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
591
|
+
span: 6,
|
|
592
|
+
style: {
|
|
593
|
+
"text-align": "end"
|
|
594
|
+
}
|
|
397
595
|
}, {
|
|
398
|
-
default: (0,
|
|
399
|
-
modelValue: (0,
|
|
400
|
-
"onUpdate:modelValue": _cache[
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
max: (0,
|
|
404
|
-
|
|
405
|
-
|
|
596
|
+
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_input_number, {
|
|
597
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatHeight,
|
|
598
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatHeight = $event),
|
|
599
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFlatDepth,
|
|
600
|
+
step: 1,
|
|
601
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFlatDepth,
|
|
602
|
+
"controls-position": "right",
|
|
603
|
+
onInput: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
406
604
|
}, null, 8
|
|
407
605
|
/* PROPS */
|
|
408
606
|
, ["modelValue", "min", "max"])]),
|
|
409
607
|
_: 1
|
|
410
608
|
/* STABLE */
|
|
411
609
|
|
|
412
|
-
},
|
|
413
|
-
|
|
414
|
-
|
|
610
|
+
})]),
|
|
611
|
+
_: 1
|
|
612
|
+
/* STABLE */
|
|
613
|
+
|
|
614
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
615
|
+
gutter: 10
|
|
616
|
+
}, {
|
|
617
|
+
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, {
|
|
618
|
+
span: 7
|
|
619
|
+
}, {
|
|
620
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).flatteningShow), 1
|
|
621
|
+
/* TEXT */
|
|
622
|
+
)]),
|
|
623
|
+
_: 1
|
|
624
|
+
/* STABLE */
|
|
625
|
+
|
|
626
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
627
|
+
span: 11
|
|
628
|
+
}, {
|
|
629
|
+
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_switch, {
|
|
630
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatteningShow,
|
|
631
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatteningShow = $event),
|
|
632
|
+
onChange: onChangeFlatteningShow
|
|
633
|
+
}, null, 8
|
|
634
|
+
/* PROPS */
|
|
635
|
+
, ["modelValue"])]),
|
|
636
|
+
_: 1
|
|
637
|
+
/* STABLE */
|
|
638
|
+
|
|
639
|
+
})]),
|
|
415
640
|
_: 1
|
|
416
641
|
/* STABLE */
|
|
417
642
|
|
|
418
|
-
}), (0,
|
|
643
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
419
644
|
class: "kq3d-model-flat-tip"
|
|
420
645
|
}, {
|
|
421
|
-
default: (0,
|
|
646
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineTips), 1
|
|
422
647
|
/* TEXT */
|
|
423
|
-
)
|
|
648
|
+
)]),
|
|
424
649
|
_: 1
|
|
425
650
|
/* STABLE */
|
|
426
651
|
|
|
427
|
-
}), (0,
|
|
428
|
-
onClick: _cache[
|
|
429
|
-
title: (0,
|
|
652
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
653
|
+
onClick: _cache[6] || (_cache[6] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
654
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
430
655
|
type: "primary"
|
|
431
656
|
}, {
|
|
432
|
-
default: (0,
|
|
657
|
+
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).startOperation), 1
|
|
433
658
|
/* TEXT */
|
|
434
659
|
)]),
|
|
435
660
|
_: 1
|
|
@@ -437,11 +662,11 @@ const __default__ = {
|
|
|
437
662
|
|
|
438
663
|
}, 8
|
|
439
664
|
/* PROPS */
|
|
440
|
-
, ["title"]), (0,
|
|
441
|
-
onClick: _cache[
|
|
442
|
-
title: (0,
|
|
665
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
666
|
+
onClick: _cache[7] || (_cache[7] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
667
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
443
668
|
}, {
|
|
444
|
-
default: (0,
|
|
669
|
+
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).clear), 1
|
|
445
670
|
/* TEXT */
|
|
446
671
|
)]),
|
|
447
672
|
_: 1
|
|
@@ -467,6 +692,9 @@ const __default__ = {
|
|
|
467
692
|
const __exports__ = ModelFlatvue_type_script_setup_true_lang_js;
|
|
468
693
|
|
|
469
694
|
/* harmony default export */ var ModelFlat = (__exports__);
|
|
695
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
696
|
+
var init_js_ = __webpack_require__(7997);
|
|
697
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
470
698
|
;// CONCATENATED MODULE: ./src/webgl/modelFlat/index.js
|
|
471
699
|
|
|
472
700
|
|
|
@@ -478,6 +706,8 @@ ModelFlat.install = (Vue, opts) => {
|
|
|
478
706
|
};
|
|
479
707
|
|
|
480
708
|
|
|
481
|
-
|
|
709
|
+
}();
|
|
710
|
+
/******/ return __webpack_exports__;
|
|
482
711
|
/******/ })()
|
|
483
|
-
;
|
|
712
|
+
;
|
|
713
|
+
});
|