@kq_npm/client3d_webgl_vue 4.1.6-beta → 4.1.7-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 +5468 -4880
- 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 +441 -215
- package/modelFlat/style/index.js +1 -1
- package/modelFlat/style/modelFlat.css +1 -1
- package/modelexcavate/index.js +52 -42
- 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 +842 -278
- 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,93 @@ __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
|
//绘制完成监听事件
|
|
104
204
|
constructor(scenceView, viewModel) {
|
|
105
|
-
|
|
205
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
106
206
|
|
|
107
|
-
|
|
207
|
+
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
108
208
|
|
|
109
|
-
|
|
209
|
+
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
110
210
|
|
|
111
|
-
|
|
211
|
+
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
112
212
|
|
|
113
|
-
|
|
213
|
+
(0,defineProperty/* default */.Z)(this, "_flatteningPolygonTex", null);
|
|
114
214
|
|
|
115
|
-
|
|
215
|
+
(0,defineProperty/* default */.Z)(this, "_assistPolygons", []);
|
|
116
216
|
|
|
117
|
-
|
|
217
|
+
(0,defineProperty/* default */.Z)(this, "currentFlatPolygonIndex", -1);
|
|
118
218
|
|
|
119
219
|
this._viewer = scenceView._viewer;
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
123
|
-
|
|
124
|
-
|
|
220
|
+
this._options = viewModel;
|
|
221
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
222
|
+
this._drawManager = scenceView._drawManager; //Create flattenning controller
|
|
223
|
+
|
|
224
|
+
let kq3dFlattening = new window.Cesium.Kq3dFlattenning(this._viewer, {}); //Create flattenedPolygonTexture
|
|
225
|
+
|
|
226
|
+
this._flatteningPolygonTex = kq3dFlattening.createFlattenedPolygonTexture();
|
|
227
|
+
var models = this._viewer.scene.primitives._primitives;
|
|
228
|
+
|
|
229
|
+
for (let i = 0; i < models.length; i++) {
|
|
230
|
+
if (models[i]._url) {
|
|
231
|
+
//Attach 3dTiles
|
|
232
|
+
this._flatteningPolygonTex.attachTileset(models[i]);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
125
236
|
let that = this;
|
|
126
237
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
127
238
|
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
|
-
}
|
|
239
|
+
that._options.positions = shape._controlPoints;
|
|
240
|
+
that.createFlat();
|
|
147
241
|
|
|
148
242
|
that._drawManager.clear();
|
|
149
243
|
}
|
|
150
244
|
});
|
|
151
|
-
}
|
|
245
|
+
} // 创建平整
|
|
152
246
|
|
|
153
|
-
setCursor(style) {
|
|
154
|
-
this._viewer.canvas.style.cursor = style;
|
|
155
|
-
} //拾取
|
|
156
247
|
|
|
248
|
+
createFlat() {
|
|
249
|
+
// 创建压平面
|
|
250
|
+
let curAssitPolygon = this._viewer.entities.add({
|
|
251
|
+
polygon: {
|
|
252
|
+
hierarchy: this._options.positions,
|
|
253
|
+
material: window.Cesium.Color.fromAlpha(window.Cesium.Color.YELLOW, 0.3)
|
|
254
|
+
},
|
|
255
|
+
show: this._options.flatteningShow ? true : false
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
this._assistPolygons.push(curAssitPolygon);
|
|
157
259
|
|
|
158
|
-
|
|
260
|
+
let myPolygon = window.Cesium.PolygonGeometry.fromPositions({
|
|
261
|
+
positions: this._options.positions,
|
|
262
|
+
height: this._options.flatHeight
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
this._flatteningPolygonTex.addFlattenedPolygon(myPolygon);
|
|
266
|
+
} // 获取平整数量
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
getFlatCount() {
|
|
270
|
+
return this._flatteningPolygonTex.getFlattenedPolygons().length;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
start() {
|
|
159
274
|
// 判断是否添加了模型
|
|
160
275
|
var flag = false;
|
|
161
276
|
var models = this._viewer.scene.primitives._primitives;
|
|
@@ -167,51 +282,100 @@ class ModelFlatViewModel {
|
|
|
167
282
|
}
|
|
168
283
|
|
|
169
284
|
if (flag) {
|
|
170
|
-
this.
|
|
171
|
-
|
|
285
|
+
this.remove();
|
|
286
|
+
|
|
287
|
+
this._drawManager.startDraw("polygon", {
|
|
288
|
+
clampToGround: true
|
|
289
|
+
});
|
|
172
290
|
} else {
|
|
173
|
-
message({
|
|
174
|
-
message: "
|
|
291
|
+
(0,message/* default */.Z)({
|
|
292
|
+
message: "请添加模型后绘制!",
|
|
175
293
|
type: "warning"
|
|
176
294
|
});
|
|
177
295
|
}
|
|
178
|
-
}
|
|
296
|
+
} // 切换高度重新计算
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
setHeight(val) {
|
|
300
|
+
this._options.flatHeight = Number(val);
|
|
301
|
+
|
|
302
|
+
if (this.currentFlatPolygonIndex === -1) {
|
|
303
|
+
this._flatteningPolygonTex.setFlattenedPolygonHeight(-1, Number(val));
|
|
304
|
+
} else {
|
|
305
|
+
this._flatteningPolygonTex.setFlattenedPolygonHeight(this.currentFlatPolygonIndex, Number(val));
|
|
306
|
+
}
|
|
307
|
+
} // 切换辅助面显示
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
setFlatteningShow(val) {
|
|
311
|
+
this._options.flatteningShow = val;
|
|
312
|
+
|
|
313
|
+
if (val) {
|
|
314
|
+
this._assistPolygons.forEach(item => {
|
|
315
|
+
item.show = true;
|
|
316
|
+
});
|
|
317
|
+
} else {
|
|
318
|
+
this._assistPolygons.forEach(item => {
|
|
319
|
+
item.show = false;
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
} // 设置平整实例
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
setCurrentFlatPolygonIndex(val) {
|
|
326
|
+
this.currentFlatPolygonIndex = val;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
remove() {
|
|
330
|
+
this._drawManager.stopDraw();
|
|
331
|
+
} // 清除
|
|
179
332
|
|
|
180
333
|
|
|
181
334
|
clear() {
|
|
182
|
-
this.
|
|
183
|
-
|
|
184
|
-
this.
|
|
185
|
-
|
|
335
|
+
this.remove();
|
|
336
|
+
|
|
337
|
+
this._flatteningPolygonTex.removeAllFlattenedPolygon();
|
|
338
|
+
|
|
339
|
+
for (var i = 0; i < this._assistPolygons.length; i++) {
|
|
340
|
+
this._viewer.entities.remove(this._assistPolygons[i]);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
this._assistPolygons = [];
|
|
186
344
|
} //销毁
|
|
187
345
|
|
|
188
346
|
|
|
189
347
|
destroy() {
|
|
190
348
|
this.clear();
|
|
191
|
-
this._handler && this._handler.removeInputAction(Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
192
349
|
}
|
|
193
350
|
|
|
194
351
|
}
|
|
195
|
-
|
|
196
|
-
var
|
|
197
|
-
|
|
198
|
-
var
|
|
199
|
-
|
|
200
|
-
var
|
|
352
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
353
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
354
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
355
|
+
var util_ = __webpack_require__(3458);
|
|
356
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
357
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
201
358
|
;// 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
359
|
|
|
203
360
|
const _hoisted_1 = {
|
|
204
|
-
class: "kq3d-model-flat-
|
|
361
|
+
class: "kq3d-model-flat-box",
|
|
362
|
+
ref: "ref_box"
|
|
205
363
|
};
|
|
206
364
|
const _hoisted_2 = {
|
|
207
|
-
class: "
|
|
365
|
+
class: "kq3d-model-flat-span"
|
|
366
|
+
};
|
|
367
|
+
const _hoisted_3 = {
|
|
368
|
+
class: "kq3d-model-flat-span"
|
|
369
|
+
};
|
|
370
|
+
const _hoisted_4 = {
|
|
371
|
+
class: "kq3d-model-flat-footer"
|
|
208
372
|
};
|
|
209
373
|
|
|
210
374
|
|
|
211
375
|
|
|
212
376
|
|
|
213
377
|
|
|
214
|
-
|
|
378
|
+
//语言
|
|
215
379
|
|
|
216
380
|
const __default__ = {
|
|
217
381
|
name: "Kq3dModelFlat"
|
|
@@ -220,26 +384,43 @@ const __default__ = {
|
|
|
220
384
|
props: {
|
|
221
385
|
//指定组件绑定的viewer对象的div的id
|
|
222
386
|
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
|
-
}
|
|
387
|
+
// 设置参数
|
|
388
|
+
settingParams: {
|
|
389
|
+
type: Object
|
|
238
390
|
},
|
|
239
391
|
// 是否显示阴影效果
|
|
240
392
|
showShadow: {
|
|
241
393
|
type: Boolean,
|
|
242
394
|
default: true
|
|
395
|
+
},
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
399
|
+
*/
|
|
400
|
+
position: [String, Object],
|
|
401
|
+
// 是否生成HeaderTemp
|
|
402
|
+
showHeaderTemp: {
|
|
403
|
+
type: Boolean,
|
|
404
|
+
default: false
|
|
405
|
+
},
|
|
406
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
407
|
+
isCollapseHeaderTemp: {
|
|
408
|
+
type: Boolean,
|
|
409
|
+
default: false
|
|
410
|
+
},
|
|
411
|
+
// HeaderTemp标题
|
|
412
|
+
headerTempTitle: {
|
|
413
|
+
type: String
|
|
414
|
+
},
|
|
415
|
+
// HeaderTemp图标
|
|
416
|
+
headerTempIcon: {
|
|
417
|
+
type: [Object, String],
|
|
418
|
+
default: client_icons_vue_.IconModelSmoothing
|
|
419
|
+
},
|
|
420
|
+
// HeaderTemp Title&Icon的位置
|
|
421
|
+
isRight: {
|
|
422
|
+
type: Boolean,
|
|
423
|
+
default: true
|
|
243
424
|
}
|
|
244
425
|
},
|
|
245
426
|
|
|
@@ -247,49 +428,54 @@ const __default__ = {
|
|
|
247
428
|
expose
|
|
248
429
|
}) {
|
|
249
430
|
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)(); // 获取组件传参
|
|
431
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
432
|
+
let viewModel = null; // 获取组件传参
|
|
255
433
|
|
|
256
|
-
let formItem = reactive({
|
|
434
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
257
435
|
flatHeight: props.settingParams && props.settingParams.excavationDepth || 10,
|
|
436
|
+
// 模型平整深度
|
|
258
437
|
minFlatDepth: props.settingParams && props.settingParams.minExcavationDepth || 0,
|
|
259
|
-
//
|
|
260
|
-
maxFlatDepth: props.settingParams && props.settingParams.maxExcavationDepth || 100
|
|
438
|
+
// 模型平整深度范围最小值
|
|
439
|
+
maxFlatDepth: props.settingParams && props.settingParams.maxExcavationDepth || 100,
|
|
440
|
+
// 模型平整深度范围最大值
|
|
441
|
+
flatteningShow: props.settingParams && props.settingParams.maxExcavationDepth || true // 压平面是否显示
|
|
261
442
|
|
|
262
443
|
}); // 组件容器Ref
|
|
263
444
|
|
|
264
|
-
let boxRef = (0,
|
|
445
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
265
446
|
|
|
266
|
-
let headerTemp = (0,
|
|
267
|
-
let headerTempRef = (0,
|
|
447
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
448
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
268
449
|
|
|
269
450
|
let {
|
|
270
451
|
locale,
|
|
271
452
|
messages
|
|
272
|
-
} = (0,
|
|
273
|
-
let headerTempTitle = (0,
|
|
274
|
-
(0,
|
|
453
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
454
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
455
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
275
456
|
language.value = messages.value[newVal]["webgl"];
|
|
276
|
-
headerTempTitle.value = language.value.
|
|
457
|
+
headerTempTitle.value = language.value.modelFlatTitle;
|
|
277
458
|
});
|
|
278
|
-
(0,
|
|
279
|
-
(0,
|
|
280
|
-
(0,
|
|
281
|
-
(0,
|
|
459
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
460
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
461
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
462
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
282
463
|
});
|
|
283
464
|
watchCreateHeaderTemp();
|
|
284
|
-
(0,
|
|
465
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
285
466
|
watchCreateHeaderTemp();
|
|
286
467
|
}); //父组件ScenceView初始化完成后执行
|
|
287
468
|
|
|
288
|
-
|
|
469
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
289
470
|
if (scenceView) {
|
|
290
|
-
viewModel = new ModelFlatViewModel(scenceView,
|
|
291
|
-
|
|
292
|
-
|
|
471
|
+
viewModel = new ModelFlatViewModel(scenceView, {
|
|
472
|
+
flatHeight: formItem.flatHeight,
|
|
473
|
+
flatteningShow: formItem.flatteningShow
|
|
474
|
+
});
|
|
475
|
+
setTimeout(() => {
|
|
476
|
+
setCurrentFlatPolygonIndex(0);
|
|
477
|
+
console.log(getFlatCount());
|
|
478
|
+
}, 1500);
|
|
293
479
|
}
|
|
294
480
|
});
|
|
295
481
|
});
|
|
@@ -300,136 +486,171 @@ const __default__ = {
|
|
|
300
486
|
const watchCreateHeaderTemp = () => {
|
|
301
487
|
if (props.showHeaderTemp) {
|
|
302
488
|
// 生成headerTemp
|
|
303
|
-
headerTemp.value = (0,
|
|
489
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
304
490
|
}
|
|
305
|
-
};
|
|
491
|
+
}; // 调整平整深度
|
|
306
492
|
|
|
307
|
-
function pick() {
|
|
308
|
-
viewModel && viewModel.pick();
|
|
309
|
-
}
|
|
310
493
|
|
|
311
|
-
function
|
|
312
|
-
|
|
313
|
-
|
|
494
|
+
function changeHeight() {
|
|
495
|
+
viewModel && viewModel.setHeight(formItem.flatHeight);
|
|
496
|
+
} // 调整压平面是否显示
|
|
314
497
|
|
|
315
|
-
if (props.aliasNameReflection) {
|
|
316
|
-
let arrKeys = [];
|
|
317
498
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
499
|
+
function onChangeFlatteningShow() {
|
|
500
|
+
viewModel && viewModel.setFlatteningShow(formItem.flatteningShow);
|
|
501
|
+
} // 获取平整分析个数
|
|
321
502
|
|
|
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
503
|
|
|
340
|
-
|
|
341
|
-
|
|
504
|
+
function getFlatCount() {
|
|
505
|
+
return viewModel && viewModel.getFlatCount();
|
|
506
|
+
} // 设置操作平整实例
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
function setCurrentFlatPolygonIndex(val) {
|
|
510
|
+
viewModel && viewModel.setCurrentFlatPolygonIndex(val);
|
|
511
|
+
} // 开始分析
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
function startOperation() {
|
|
515
|
+
viewModel && viewModel.start();
|
|
516
|
+
} // 清除
|
|
517
|
+
|
|
342
518
|
|
|
343
519
|
function clear() {
|
|
344
|
-
layerNameTitle.value = "";
|
|
345
|
-
tableData.value = [];
|
|
346
520
|
viewModel && viewModel.clear();
|
|
347
521
|
} // 销毁
|
|
348
522
|
|
|
349
523
|
|
|
350
|
-
(0,
|
|
524
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
351
525
|
viewModel && viewModel.destroy();
|
|
352
526
|
});
|
|
353
527
|
expose({
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
528
|
+
getFlatCount,
|
|
529
|
+
setCurrentFlatPolygonIndex,
|
|
530
|
+
clear
|
|
357
531
|
});
|
|
358
532
|
return (_ctx, _cache) => {
|
|
359
|
-
const _component_kq_col = (0,
|
|
533
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
534
|
+
|
|
535
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
360
536
|
|
|
361
|
-
const
|
|
537
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
362
538
|
|
|
363
|
-
const _component_kq_row = (0,
|
|
539
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
364
540
|
|
|
365
|
-
const
|
|
541
|
+
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
366
542
|
|
|
367
|
-
|
|
368
|
-
|
|
543
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
544
|
+
|
|
545
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
546
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-flat", {
|
|
369
547
|
'kq-box-shadow': __props.showShadow
|
|
370
548
|
}]),
|
|
371
549
|
ref_key: "boxRef",
|
|
372
550
|
ref: boxRef
|
|
373
|
-
}, [
|
|
551
|
+
}, [__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
552
|
key: 0,
|
|
375
553
|
ref_key: "headerTempRef",
|
|
376
554
|
ref: headerTempRef
|
|
377
555
|
}, null, 512
|
|
378
556
|
/* 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
|
|
557
|
+
)) : (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, {
|
|
558
|
+
gutter: 10
|
|
559
|
+
}, {
|
|
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_col, {
|
|
561
|
+
span: 7
|
|
386
562
|
}, {
|
|
387
|
-
default: (0,
|
|
563
|
+
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
564
|
/* TEXT */
|
|
389
565
|
)]),
|
|
390
566
|
_: 1
|
|
391
567
|
/* STABLE */
|
|
392
568
|
|
|
393
|
-
},
|
|
394
|
-
|
|
395
|
-
,
|
|
396
|
-
|
|
569
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
570
|
+
span: 11
|
|
571
|
+
}, {
|
|
572
|
+
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, {
|
|
573
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatHeight,
|
|
574
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatHeight = $event),
|
|
575
|
+
step: 1,
|
|
576
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFlatDepth,
|
|
577
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFlatDepth,
|
|
578
|
+
onChange: _cache[1] || (_cache[1] = $event => changeHeight()),
|
|
579
|
+
onClick: _cache[2] || (_cache[2] = $event => changeHeight())
|
|
580
|
+
}, null, 8
|
|
581
|
+
/* PROPS */
|
|
582
|
+
, ["modelValue", "min", "max"])]),
|
|
583
|
+
_: 1
|
|
584
|
+
/* STABLE */
|
|
585
|
+
|
|
586
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
587
|
+
span: 6,
|
|
588
|
+
style: {
|
|
589
|
+
"text-align": "end"
|
|
590
|
+
}
|
|
397
591
|
}, {
|
|
398
|
-
default: (0,
|
|
399
|
-
modelValue: (0,
|
|
400
|
-
"onUpdate:modelValue": _cache[
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
max: (0,
|
|
404
|
-
|
|
405
|
-
|
|
592
|
+
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, {
|
|
593
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatHeight,
|
|
594
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatHeight = $event),
|
|
595
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFlatDepth,
|
|
596
|
+
step: 1,
|
|
597
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFlatDepth,
|
|
598
|
+
"controls-position": "right",
|
|
599
|
+
onInput: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
406
600
|
}, null, 8
|
|
407
601
|
/* PROPS */
|
|
408
602
|
, ["modelValue", "min", "max"])]),
|
|
409
603
|
_: 1
|
|
410
604
|
/* STABLE */
|
|
411
605
|
|
|
412
|
-
},
|
|
413
|
-
|
|
414
|
-
|
|
606
|
+
})]),
|
|
607
|
+
_: 1
|
|
608
|
+
/* STABLE */
|
|
609
|
+
|
|
610
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
611
|
+
gutter: 10
|
|
612
|
+
}, {
|
|
613
|
+
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, {
|
|
614
|
+
span: 7
|
|
615
|
+
}, {
|
|
616
|
+
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
|
|
617
|
+
/* TEXT */
|
|
618
|
+
)]),
|
|
619
|
+
_: 1
|
|
620
|
+
/* STABLE */
|
|
621
|
+
|
|
622
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
623
|
+
span: 11
|
|
624
|
+
}, {
|
|
625
|
+
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, {
|
|
626
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatteningShow,
|
|
627
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatteningShow = $event),
|
|
628
|
+
onChange: onChangeFlatteningShow
|
|
629
|
+
}, null, 8
|
|
630
|
+
/* PROPS */
|
|
631
|
+
, ["modelValue"])]),
|
|
632
|
+
_: 1
|
|
633
|
+
/* STABLE */
|
|
634
|
+
|
|
635
|
+
})]),
|
|
415
636
|
_: 1
|
|
416
637
|
/* STABLE */
|
|
417
638
|
|
|
418
|
-
}), (0,
|
|
639
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
419
640
|
class: "kq3d-model-flat-tip"
|
|
420
641
|
}, {
|
|
421
|
-
default: (0,
|
|
642
|
+
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
643
|
/* TEXT */
|
|
423
|
-
)
|
|
644
|
+
)]),
|
|
424
645
|
_: 1
|
|
425
646
|
/* STABLE */
|
|
426
647
|
|
|
427
|
-
}), (0,
|
|
428
|
-
onClick: _cache[
|
|
429
|
-
title: (0,
|
|
648
|
+
}), (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, {
|
|
649
|
+
onClick: _cache[6] || (_cache[6] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
650
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
430
651
|
type: "primary"
|
|
431
652
|
}, {
|
|
432
|
-
default: (0,
|
|
653
|
+
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
654
|
/* TEXT */
|
|
434
655
|
)]),
|
|
435
656
|
_: 1
|
|
@@ -437,11 +658,11 @@ const __default__ = {
|
|
|
437
658
|
|
|
438
659
|
}, 8
|
|
439
660
|
/* PROPS */
|
|
440
|
-
, ["title"]), (0,
|
|
441
|
-
onClick: _cache[
|
|
442
|
-
title: (0,
|
|
661
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
662
|
+
onClick: _cache[7] || (_cache[7] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
663
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
443
664
|
}, {
|
|
444
|
-
default: (0,
|
|
665
|
+
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
666
|
/* TEXT */
|
|
446
667
|
)]),
|
|
447
668
|
_: 1
|
|
@@ -467,6 +688,9 @@ const __default__ = {
|
|
|
467
688
|
const __exports__ = ModelFlatvue_type_script_setup_true_lang_js;
|
|
468
689
|
|
|
469
690
|
/* harmony default export */ var ModelFlat = (__exports__);
|
|
691
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
692
|
+
var init_js_ = __webpack_require__(7997);
|
|
693
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
470
694
|
;// CONCATENATED MODULE: ./src/webgl/modelFlat/index.js
|
|
471
695
|
|
|
472
696
|
|
|
@@ -478,6 +702,8 @@ ModelFlat.install = (Vue, opts) => {
|
|
|
478
702
|
};
|
|
479
703
|
|
|
480
704
|
|
|
481
|
-
|
|
705
|
+
}();
|
|
706
|
+
/******/ return __webpack_exports__;
|
|
482
707
|
/******/ })()
|
|
483
|
-
;
|
|
708
|
+
;
|
|
709
|
+
});
|