@kq_npm/client3d_webgl_vue 0.0.1-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.
Files changed (103) hide show
  1. package/adddata/index.js +1503 -0
  2. package/adddata/style/adddata.css +1 -0
  3. package/adddata/style/css.js +3 -0
  4. package/adddata/style/index.js +3 -0
  5. package/baseterraingallery/index.js +394 -0
  6. package/baseterraingallery/style/baseterraingallery.css +1 -0
  7. package/baseterraingallery/style/css.js +3 -0
  8. package/baseterraingallery/style/index.js +3 -0
  9. package/boxclip/index.js +1076 -0
  10. package/boxclip/style/boxclip.css +1 -0
  11. package/boxclip/style/css.js +3 -0
  12. package/boxclip/style/index.js +3 -0
  13. package/comparemap/index.js +466 -0
  14. package/comparemap/style/comparemap.css +1 -0
  15. package/comparemap/style/css.js +3 -0
  16. package/comparemap/style/index.js +3 -0
  17. package/css.js +3 -0
  18. package/excavatefillanalysis/index.js +599 -0
  19. package/excavatefillanalysis/style/css.js +3 -0
  20. package/excavatefillanalysis/style/excavatefillanalysis.css +1 -0
  21. package/excavatefillanalysis/style/index.js +3 -0
  22. package/flight/index.js +963 -0
  23. package/flight/style/css.js +3 -0
  24. package/flight/style/flight.css +1 -0
  25. package/flight/style/index.js +3 -0
  26. package/floodanalysis/index.js +824 -0
  27. package/floodanalysis/style/css.js +3 -0
  28. package/floodanalysis/style/floodanalysis.css +1 -0
  29. package/floodanalysis/style/index.js +3 -0
  30. package/gpuspatialquery/index.js +906 -0
  31. package/gpuspatialquery/style/css.js +3 -0
  32. package/gpuspatialquery/style/gpuspatialquery.css +1 -0
  33. package/gpuspatialquery/style/index.js +3 -0
  34. package/hawkeye/index.js +239 -0
  35. package/index.js +19807 -0
  36. package/isolineanalysis/index.js +2476 -0
  37. package/isolineanalysis/style/css.js +3 -0
  38. package/isolineanalysis/style/index.js +3 -0
  39. package/isolineanalysis/style/isolineanalysis.css +1 -0
  40. package/measure/index.js +560 -0
  41. package/measure/style/css.js +3 -0
  42. package/measure/style/index.js +3 -0
  43. package/measure/style/measure.css +1 -0
  44. package/modelselect/index.js +375 -0
  45. package/modelselect/style/css.js +3 -0
  46. package/modelselect/style/index.js +3 -0
  47. package/modelselect/style/modelselect.css +1 -0
  48. package/package.json +1 -0
  49. package/particleeffect/index.js +1079 -0
  50. package/particleeffect/style/css.js +3 -0
  51. package/particleeffect/style/index.js +3 -0
  52. package/particleeffect/style/particleeffect.css +1 -0
  53. package/planeclip/index.js +738 -0
  54. package/planeclip/style/css.js +3 -0
  55. package/planeclip/style/index.js +3 -0
  56. package/planeclip/style/planeclip.css +1 -0
  57. package/profileanalysis/index.js +781 -0
  58. package/profileanalysis/style/css.js +3 -0
  59. package/profileanalysis/style/index.js +3 -0
  60. package/profileanalysis/style/profileanalysis.css +1 -0
  61. package/roller/index.js +537 -0
  62. package/roller/style/css.js +3 -0
  63. package/roller/style/index.js +3 -0
  64. package/roller/style/roller.css +1 -0
  65. package/scenceview/index.js +1775 -0
  66. package/scenceview/style/css.js +3 -0
  67. package/scenceview/style/index.js +3 -0
  68. package/scenceview/style/scenceview.css +1 -0
  69. package/screenshot/index.js +551 -0
  70. package/screenshot/style/css.js +3 -0
  71. package/screenshot/style/index.js +3 -0
  72. package/screenshot/style/screenshot.css +1 -0
  73. package/shadowanalysis/index.js +1042 -0
  74. package/shadowanalysis/style/css.js +3 -0
  75. package/shadowanalysis/style/index.js +3 -0
  76. package/shadowanalysis/style/shadowanalysis.css +1 -0
  77. package/sightlineanalysis/index.js +1100 -0
  78. package/sightlineanalysis/style/css.js +3 -0
  79. package/sightlineanalysis/style/divpoint.css +1 -0
  80. package/sightlineanalysis/style/index.js +3 -0
  81. package/sightlineanalysis/style/sightlineanalysis.css +1 -0
  82. package/skylineanalysis/index.js +771 -0
  83. package/skylineanalysis/style/css.js +3 -0
  84. package/skylineanalysis/style/index.js +3 -0
  85. package/skylineanalysis/style/skylineanalysis.css +1 -0
  86. package/slopeanalysis/index.js +1028 -0
  87. package/slopeanalysis/style/css.js +3 -0
  88. package/slopeanalysis/style/index.js +3 -0
  89. package/slopeanalysis/style/slopeanalysis.css +1 -0
  90. package/style.css +1 -0
  91. package/style.js +3 -0
  92. package/terrainoperation/index.js +508 -0
  93. package/terrainoperation/style/css.js +3 -0
  94. package/terrainoperation/style/index.js +3 -0
  95. package/terrainoperation/style/terrainoperation.css +1 -0
  96. package/viewshedanalysis/index.js +582 -0
  97. package/viewshedanalysis/style/css.js +3 -0
  98. package/viewshedanalysis/style/index.js +3 -0
  99. package/viewshedanalysis/style/viewshedanalysis.css +1 -0
  100. package/weathereffect/index.js +835 -0
  101. package/weathereffect/style/css.js +3 -0
  102. package/weathereffect/style/index.js +3 -0
  103. package/weathereffect/style/weathereffect.css +1 -0
@@ -0,0 +1,738 @@
1
+ /******/ (function() { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ // The require scope
4
+ /******/ var __webpack_require__ = {};
5
+ /******/
6
+ /************************************************************************/
7
+ /******/ /* webpack/runtime/compat get default export */
8
+ /******/ !function() {
9
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
10
+ /******/ __webpack_require__.n = function(module) {
11
+ /******/ var getter = module && module.__esModule ?
12
+ /******/ function() { return module['default']; } :
13
+ /******/ function() { return module; };
14
+ /******/ __webpack_require__.d(getter, { a: getter });
15
+ /******/ return getter;
16
+ /******/ };
17
+ /******/ }();
18
+ /******/
19
+ /******/ /* webpack/runtime/define property getters */
20
+ /******/ !function() {
21
+ /******/ // define getter functions for harmony exports
22
+ /******/ __webpack_require__.d = function(exports, definition) {
23
+ /******/ for(var key in definition) {
24
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
25
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
26
+ /******/ }
27
+ /******/ }
28
+ /******/ };
29
+ /******/ }();
30
+ /******/
31
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
32
+ /******/ !function() {
33
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
34
+ /******/ }();
35
+ /******/
36
+ /******/ /* webpack/runtime/make namespace object */
37
+ /******/ !function() {
38
+ /******/ // define __esModule on exports
39
+ /******/ __webpack_require__.r = function(exports) {
40
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
41
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
42
+ /******/ }
43
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
44
+ /******/ };
45
+ /******/ }();
46
+ /******/
47
+ /************************************************************************/
48
+ var __webpack_exports__ = {};
49
+ // ESM COMPAT FLAG
50
+ __webpack_require__.r(__webpack_exports__);
51
+
52
+ // EXPORTS
53
+ __webpack_require__.d(__webpack_exports__, {
54
+ "PlaneClipViewModel": function() { return /* reexport */ PlaneClipViewModel; },
55
+ "default": function() { return /* reexport */ PlaneClip; }
56
+ });
57
+
58
+ ;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
59
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
60
+ ;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/_utils/gis-utils"
61
+ var gis_utils_namespaceObject = require("@zpc_npm/vue-iclient-common/_utils/gis-utils");
62
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
63
+ function _defineProperty(obj, key, value) {
64
+ if (key in obj) {
65
+ Object.defineProperty(obj, key, {
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: ./src/webgl/planeclip/PlaneClipViewModel.js
78
+
79
+ //Box裁剪逻辑类
80
+ class PlaneClipViewModel {
81
+ constructor(scenceView, options) {
82
+ _defineProperty(this, "_viewer", null);
83
+
84
+ _defineProperty(this, "_options", {});
85
+
86
+ _defineProperty(this, "_defaultOptions", {
87
+ axisX: 0,
88
+ axisY: 0,
89
+ axisZ: 0,
90
+ x: 0,
91
+ y: 0,
92
+ z: 0,
93
+ angle: 0,
94
+ boxColor: Cesium.Color.fromCssColorString("#316882").withAlpha(0.4),
95
+ clipEdgeWidth: 4.0,
96
+ clipEdgeColorLables: "#63cf25",
97
+ clipEdgeColor: Cesium.Color.fromCssColorString("#63cf25"),
98
+ clipEdgeWidth: 3,
99
+ paddingFill: true,
100
+ paddingFillColor: Cesium.Color.fromCssColorString("#1c6920"),
101
+ paddingFillColorLabel: "#1c6920",
102
+ paddingFillColorAlpha: 0.7,
103
+ paddingStroke: true,
104
+ paddingStrokeColor: Cesium.Color.fromCssColorString("#dd2bff"),
105
+ paddingStrokeColorLabel: "#dd2bff",
106
+ paddingStrokeColorAlpha: 1.0,
107
+ paddingStrokeSize: 7.0,
108
+ paddingStrokeSoftSize: 2.0,
109
+ paddingStrokeDirection: 30.0,
110
+ paddingStrokeSpace: 7.0
111
+ });
112
+
113
+ _defineProperty(this, "_planeclipAnalysis", null);
114
+
115
+ _defineProperty(this, "_drawManager", null);
116
+
117
+ _defineProperty(this, "_removeEventListener", null);
118
+
119
+ this._options = Object.assign({}, options, this._defaultOptions);
120
+ this._viewer = scenceView._viewer;
121
+ this._viewer.enabledFXAA = true;
122
+ this._options.viewer = this._viewer;
123
+ this._drawManager = scenceView._drawManager;
124
+ let that = this;
125
+ this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
126
+ if (shape) {
127
+ that._options.position = shape.position;
128
+
129
+ if (that._planeclipAnalysis) {
130
+ that._planeclipAnalysis.position = that._options.position;
131
+ } else {
132
+ // 实例化分析对象
133
+ that._planeclipAnalysis = new Cesium.Kq3dBoxClip(that._options);
134
+ }
135
+
136
+ that._drawManager.clear();
137
+ }
138
+ });
139
+ } // 查找所有3dtiles模型对象
140
+
141
+
142
+ findLayers() {
143
+ let tilesets = [];
144
+ const primitives = this._options.viewer.scene.primitives._primitives;
145
+
146
+ for (let m = 0; m < primitives.length; m++) {
147
+ if (primitives[m] instanceof Cesium.Cesium3DTileset) {
148
+ tilesets.push({
149
+ guid: primitives[m].guid,
150
+ name: primitives[m].name ? primitives[m].name : primitives[m].guid
151
+ });
152
+ }
153
+ }
154
+
155
+ return tilesets;
156
+ } //根据id获取tileset对象
157
+
158
+
159
+ findLayerById(id) {
160
+ const primitives = this._options.viewer.scene.primitives._primitives;
161
+ const tileset = primitives.find(function (item) {
162
+ return item.guid === id;
163
+ });
164
+ return tileset;
165
+ } // 开始分析
166
+
167
+
168
+ start() {
169
+ if (this._drawManager) this._drawManager.startDraw("marker", {
170
+ image: null
171
+ });
172
+ } //清除全部
173
+
174
+
175
+ clear() {
176
+ if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = false;
177
+ this._planeclipAnalysis && this._planeclipAnalysis.remove();
178
+ this._planeclipAnalysis = null;
179
+ } //销毁
180
+
181
+
182
+ destroy() {
183
+ this.clear(); //销毁分析对象
184
+
185
+ this._planeclipAnalysis && this._planeclipAnalysis.destroy();
186
+ this._planeclipAnalysis = null; //移除监听事件
187
+
188
+ this._removeEventListener && this._removeEventListener();
189
+ this._removeEventListener = null;
190
+ } // 设置裁剪对象
191
+
192
+
193
+ setLayer(layerId) {
194
+ this.clear();
195
+ this._options.tileset = this.findLayerById(layerId);
196
+ } // 设置裁剪方向,2:x,3:y,z:4
197
+
198
+
199
+ setClipDirection(val) {
200
+ this._options.clipType = val;
201
+ if (this._planeclipAnalysis) this._planeclipAnalysis.clipType = val;
202
+ } // 设置裁剪方式,为false时,则为正向裁剪,否则为逆向裁剪
203
+
204
+
205
+ setClipType(val) {
206
+ this._options.reverseClip = val;
207
+
208
+ if (this._planeclipAnalysis) {
209
+ this._planeclipAnalysis.reverseClip = val;
210
+ this._planeclipAnalysis.distance = this._options.distance;
211
+ }
212
+ } //是否裁剪
213
+
214
+
215
+ setEnable(val) {
216
+ this._options.enable = val;
217
+
218
+ if (this._planeclipAnalysis) {
219
+ this._planeclipAnalysis.enable = val;
220
+ this._planeclipAnalysis.boxEnable = this._options.boxEnable;
221
+ }
222
+ } //显/隐辅助对象
223
+
224
+
225
+ setShowBox(val) {
226
+ this._options.boxEnable = val;
227
+ if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = val;
228
+ } //设置裁剪距离
229
+
230
+
231
+ setDistance(val) {
232
+ if (this._options.clipType == 4) {
233
+ this._options.distance = -Number(val);
234
+ } else {
235
+ this._options.distance = Number(val);
236
+ }
237
+
238
+ if (this._planeclipAnalysis) this._planeclipAnalysis.distance = this._options.distance;
239
+ }
240
+
241
+ }
242
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
243
+
244
+ const _hoisted_1 = {
245
+ class: "kq3d-plane-clip"
246
+ };
247
+ const _hoisted_2 = {
248
+ class: "kq3d-plane-clip-span"
249
+ };
250
+ const _hoisted_3 = {
251
+ class: "kq3d-plane-clip-span"
252
+ };
253
+ const _hoisted_4 = {
254
+ class: "kq3d-plane-clip-span"
255
+ };
256
+ const _hoisted_5 = {
257
+ class: "kq3d-plane-clip-footer"
258
+ };
259
+
260
+
261
+
262
+ const __default__ = {
263
+ name: "Kq3dPlaneClip"
264
+ };
265
+ /* harmony default export */ var PlaneClipvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
266
+ props: {
267
+ // 设置参数
268
+ settingParams: {
269
+ type: Object
270
+ }
271
+ },
272
+
273
+ setup(__props, {
274
+ expose
275
+ }) {
276
+ const props = __props;
277
+ const {
278
+ proxy
279
+ } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.getCurrentInstance)();
280
+ let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("");
281
+ let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
282
+ let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("");
283
+ let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)([]); // 获取组件传参
284
+
285
+ let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
286
+ tileset: props.settingParams && props.settingParams.tileset || null,
287
+ clipDirection: props.settingParams && props.settingParams.clipDirection || 2,
288
+ reverseClip: props.settingParams && props.settingParams.reverseClip !== undefined ? props.settingParams.reverseClip : false,
289
+ enableClip: props.settingParams && props.settingParams.enableClip !== undefined || true,
290
+ boxEnable: props.settingParams && props.settingParams.boxEnable !== undefined || false,
291
+ clipDistance: props.settingParams && props.settingParams.clipDistance || 0
292
+ });
293
+ let viewModel = null;
294
+ (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
295
+ currentLang.value = proxy.$i18n.locale; // 获取当前语言
296
+ //父组 件ScenceView初始化完成后执行
297
+
298
+ gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
299
+ if (scenceView) {
300
+ language.value = scenceView._language;
301
+ let options = {
302
+ tileset: formItem.tileset,
303
+ clipType: formItem.clipDirection,
304
+ reverseClip: formItem.reverseClip,
305
+ enable: formItem.enableClip,
306
+ boxEnable: formItem.boxEnable,
307
+ distance: formItem.clipDistance
308
+ };
309
+ viewModel = new PlaneClipViewModel(scenceView, options);
310
+ }
311
+ });
312
+ setTimeout(() => {
313
+ if (viewModel) {
314
+ tiles.value = viewModel.findLayers(); // 获取所有tileset对象
315
+
316
+ formItem.tileset = tiles.value[0].guid;
317
+ paramsChanged("tileset");
318
+ }
319
+ }, 1000);
320
+ }); // 参数改变
321
+
322
+ function paramsChanged(key) {
323
+ switch (key) {
324
+ case "tileset":
325
+ viewModel.setLayer(formItem.tileset);
326
+ break;
327
+
328
+ case "clipDirection":
329
+ viewModel.setClipDirection(formItem.clipDirection);
330
+ break;
331
+
332
+ case "reverseClip":
333
+ viewModel.setClipType(formItem.reverseClip);
334
+ break;
335
+
336
+ case "enableClip":
337
+ viewModel.setEnable(formItem.enableClip);
338
+ break;
339
+
340
+ case "boxEnable":
341
+ viewModel.setShowBox(formItem.boxEnable);
342
+ break;
343
+
344
+ case "distance":
345
+ viewModel.setDistance(formItem.clipDistance);
346
+ break;
347
+
348
+ default:
349
+ break;
350
+ }
351
+ } // 开始裁剪
352
+
353
+
354
+ function clip() {
355
+ viewModel && viewModel.start();
356
+ } // 清除
357
+
358
+
359
+ function clearResult() {
360
+ viewModel && viewModel.clear();
361
+ } // 销毁
362
+
363
+
364
+ (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeUnmount)(() => {
365
+ viewModel && viewModel.destroy();
366
+ });
367
+ expose({
368
+ clearResult
369
+ });
370
+ return (_ctx, _cache) => {
371
+ const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-col");
372
+
373
+ const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-option");
374
+
375
+ const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-select");
376
+
377
+ const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-row");
378
+
379
+ const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-checkbox");
380
+
381
+ const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-slider");
382
+
383
+ const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-input-number");
384
+
385
+ const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-form-item");
386
+
387
+ const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-form");
388
+
389
+ const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-collapse-item");
390
+
391
+ const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-collapse");
392
+
393
+ const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");
394
+
395
+ return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)("section", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
396
+ gutter: 20
397
+ }, {
398
+ 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, {
399
+ span: 6
400
+ }, {
401
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clipObj), 1
402
+ /* TEXT */
403
+ )]),
404
+ _: 1
405
+ /* STABLE */
406
+
407
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
408
+ span: 18
409
+ }, {
410
+ 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_select, {
411
+ modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).tileset,
412
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).tileset = $event),
413
+ onChange: _cache[1] || (_cache[1] = $event => paramsChanged('tileset'))
414
+ }, {
415
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(tiles), (item, index) => {
416
+ return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_option, {
417
+ key: index,
418
+ value: item.guid,
419
+ label: item.name
420
+ }, {
421
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)(item.name), 1
422
+ /* TEXT */
423
+ )]),
424
+ _: 2
425
+ /* DYNAMIC */
426
+
427
+ }, 1032
428
+ /* PROPS, DYNAMIC_SLOTS */
429
+ , ["value", "label"]);
430
+ }), 128
431
+ /* KEYED_FRAGMENT */
432
+ ))]),
433
+ _: 1
434
+ /* STABLE */
435
+
436
+ }, 8
437
+ /* PROPS */
438
+ , ["modelValue"])]),
439
+ _: 1
440
+ /* STABLE */
441
+
442
+ })]),
443
+ _: 1
444
+ /* STABLE */
445
+
446
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
447
+ gutter: 20
448
+ }, {
449
+ 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, {
450
+ span: 6
451
+ }, {
452
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clipStyle), 1
453
+ /* TEXT */
454
+ )]),
455
+ _: 1
456
+ /* STABLE */
457
+
458
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
459
+ span: 18
460
+ }, {
461
+ 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_select, {
462
+ modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).clipDirection,
463
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).clipDirection = $event),
464
+ onChange: _cache[3] || (_cache[3] = $event => paramsChanged('clipDirection'))
465
+ }, {
466
+ 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_option, {
467
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).xClip,
468
+ value: 2
469
+ }, null, 8
470
+ /* PROPS */
471
+ , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
472
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).yClip,
473
+ value: 3
474
+ }, null, 8
475
+ /* PROPS */
476
+ , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
477
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).zClip,
478
+ value: 4
479
+ }, null, 8
480
+ /* PROPS */
481
+ , ["label"])]),
482
+ _: 1
483
+ /* STABLE */
484
+
485
+ }, 8
486
+ /* PROPS */
487
+ , ["modelValue"])]),
488
+ _: 1
489
+ /* STABLE */
490
+
491
+ })]),
492
+ _: 1
493
+ /* STABLE */
494
+
495
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
496
+ gutter: 20
497
+ }, {
498
+ 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, {
499
+ span: 6
500
+ }, {
501
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", _hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clipPattern), 1
502
+ /* TEXT */
503
+ )]),
504
+ _: 1
505
+ /* STABLE */
506
+
507
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
508
+ span: 18
509
+ }, {
510
+ 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_select, {
511
+ modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).reverseClip,
512
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).reverseClip = $event),
513
+ onChange: _cache[5] || (_cache[5] = $event => paramsChanged('reverseClip'))
514
+ }, {
515
+ 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_option, {
516
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).forwardClip,
517
+ value: false
518
+ }, null, 8
519
+ /* PROPS */
520
+ , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
521
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).reverseClip,
522
+ value: true
523
+ }, null, 8
524
+ /* PROPS */
525
+ , ["label"])]),
526
+ _: 1
527
+ /* STABLE */
528
+
529
+ }, 8
530
+ /* PROPS */
531
+ , ["modelValue"])]),
532
+ _: 1
533
+ /* STABLE */
534
+
535
+ })]),
536
+ _: 1
537
+ /* STABLE */
538
+
539
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
540
+ class: "kq3d-plane-clip-tip"
541
+ }, {
542
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clipTips), 1
543
+ /* TEXT */
544
+ )]),
545
+ _: 1
546
+ /* STABLE */
547
+
548
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_collapse, {
549
+ "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(collapseValue),
550
+ class: "kq3d-plane-clip-collapse"
551
+ }, {
552
+ 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_collapse_item, {
553
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).analysisSettings,
554
+ name: "setting"
555
+ }, {
556
+ 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_form, {
557
+ "label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(currentLang) === 'zh' ? '90px' : '120px',
558
+ "label-position": "left"
559
+ }, {
560
+ 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_row, {
561
+ style: {
562
+ "display": "flex"
563
+ }
564
+ }, {
565
+ 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, {
566
+ span: 12
567
+ }, {
568
+ 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_checkbox, {
569
+ modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).enableClip,
570
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).enableClip = $event),
571
+ onChange: _cache[7] || (_cache[7] = $event => paramsChanged('enableClip'))
572
+ }, {
573
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).enableClip), 1
574
+ /* TEXT */
575
+ )]),
576
+ _: 1
577
+ /* STABLE */
578
+
579
+ }, 8
580
+ /* PROPS */
581
+ , ["modelValue"])]),
582
+ _: 1
583
+ /* STABLE */
584
+
585
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
586
+ span: 12
587
+ }, {
588
+ 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_checkbox, {
589
+ modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).boxEnable,
590
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).boxEnable = $event),
591
+ onChange: _cache[9] || (_cache[9] = $event => paramsChanged('boxEnable'))
592
+ }, {
593
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).boxEnable), 1
594
+ /* TEXT */
595
+ )]),
596
+ _: 1
597
+ /* STABLE */
598
+
599
+ }, 8
600
+ /* PROPS */
601
+ , ["modelValue"])]),
602
+ _: 1
603
+ /* STABLE */
604
+
605
+ })]),
606
+ _: 1
607
+ /* STABLE */
608
+
609
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
610
+ 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_form_item, {
611
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clipDistance
612
+ }, {
613
+ 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_row, {
614
+ style: {
615
+ "display": "flex"
616
+ }
617
+ }, {
618
+ 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, {
619
+ span: 16
620
+ }, {
621
+ 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_slider, {
622
+ modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).clipDistance,
623
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).clipDistance = $event),
624
+ step: 1,
625
+ min: -50,
626
+ max: 50,
627
+ onInput: _cache[11] || (_cache[11] = $event => paramsChanged('distance'))
628
+ }, null, 8
629
+ /* PROPS */
630
+ , ["modelValue"])]),
631
+ _: 1
632
+ /* STABLE */
633
+
634
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
635
+ span: 8
636
+ }, {
637
+ 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_input_number, {
638
+ modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).clipDistance,
639
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).clipDistance = $event),
640
+ step: 1,
641
+ min: -50,
642
+ max: 50,
643
+ "controls-position": "right",
644
+ onInput: _cache[13] || (_cache[13] = $event => paramsChanged('distance'))
645
+ }, null, 8
646
+ /* PROPS */
647
+ , ["modelValue"])]),
648
+ _: 1
649
+ /* STABLE */
650
+
651
+ })]),
652
+ _: 1
653
+ /* STABLE */
654
+
655
+ })]),
656
+ _: 1
657
+ /* STABLE */
658
+
659
+ }, 8
660
+ /* PROPS */
661
+ , ["label"])]),
662
+ _: 1
663
+ /* STABLE */
664
+
665
+ })]),
666
+ _: 1
667
+ /* STABLE */
668
+
669
+ }, 8
670
+ /* PROPS */
671
+ , ["label-width"])]),
672
+ _: 1
673
+ /* STABLE */
674
+
675
+ }, 8
676
+ /* PROPS */
677
+ , ["title"])]),
678
+ _: 1
679
+ /* STABLE */
680
+
681
+ }, 8
682
+ /* PROPS */
683
+ , ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
684
+ onClick: _cache[14] || (_cache[14] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)($event => clip(), ["stop"])),
685
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clip,
686
+ type: "primary"
687
+ }, {
688
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clip), 1
689
+ /* TEXT */
690
+ )]),
691
+ _: 1
692
+ /* STABLE */
693
+
694
+ }, 8
695
+ /* PROPS */
696
+ , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
697
+ onClick: _cache[15] || (_cache[15] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)($event => clearResult(), ["stop"])),
698
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clear
699
+ }, {
700
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clear), 1
701
+ /* TEXT */
702
+ )]),
703
+ _: 1
704
+ /* STABLE */
705
+
706
+ }, 8
707
+ /* PROPS */
708
+ , ["title"])])]);
709
+ };
710
+ }
711
+
712
+ }));
713
+ ;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
714
+
715
+ ;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClip.vue
716
+
717
+
718
+
719
+ const __exports__ = PlaneClipvue_type_script_setup_true_lang_js;
720
+
721
+ /* harmony default export */ var PlaneClip = (__exports__);
722
+ ;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/init.js"
723
+ var init_js_namespaceObject = require("@zpc_npm/vue-iclient-common/init.js");
724
+ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
725
+ ;// CONCATENATED MODULE: ./src/webgl/planeclip/index.js
726
+
727
+
728
+
729
+
730
+ PlaneClip.install = (Vue, opts) => {
731
+ init_js_default()(Vue, opts);
732
+ Vue.component(PlaneClip.name, PlaneClip);
733
+ };
734
+
735
+
736
+ module.exports = __webpack_exports__;
737
+ /******/ })()
738
+ ;