@kq_npm/client3d_webgl_vue 3.2.6-beta → 3.2.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.
@@ -2,15 +2,183 @@
2
2
  /******/ "use strict";
3
3
  /******/ var __webpack_modules__ = ({
4
4
 
5
- /***/ 5673:
5
+ /***/ 909:
6
6
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
7
7
 
8
+
9
+ // EXPORTS
10
+ __webpack_require__.d(__webpack_exports__, {
11
+ "Z": function() { return /* binding */ message; }
12
+ });
13
+
14
+ ;// CONCATENATED MODULE: external "element-plus/es"
15
+ var es_namespaceObject = require("element-plus/es");
16
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
17
+ var init_js_ = __webpack_require__(5406);
18
+ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
19
+ ;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
20
+
21
+
22
+
23
+ es_namespaceObject.ElMessage.install = (Vue, opts) => {
24
+ init_js_default()(Vue, opts);
25
+ Vue.component("KqMessage", es_namespaceObject.ElMessage);
26
+ };
27
+
28
+ /* harmony default export */ var message = (es_namespaceObject.ElMessage);
29
+
30
+ /***/ }),
31
+
32
+ /***/ 348:
33
+ /***/ (function(module) {
34
+
35
+ module.exports = require("@kq_npm/client_icons_vue");
36
+
37
+ /***/ }),
38
+
39
+ /***/ 826:
40
+ /***/ (function(module) {
41
+
42
+ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
43
+
44
+ /***/ }),
45
+
46
+ /***/ 9519:
47
+ /***/ (function(module) {
48
+
49
+ module.exports = require("@kq_npm/client_common_vue/_utils/util");
50
+
51
+ /***/ }),
52
+
53
+ /***/ 5406:
54
+ /***/ (function(module) {
55
+
56
+ module.exports = require("@kq_npm/client_common_vue/init.js");
57
+
58
+ /***/ }),
59
+
60
+ /***/ 637:
61
+ /***/ (function(module) {
62
+
63
+ module.exports = require("vue");
64
+
65
+ /***/ }),
66
+
67
+ /***/ 8270:
68
+ /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
69
+
8
70
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
- /* harmony export */ "Z": function() { return /* binding */ PlaneClipViewModel; }
71
+ /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
10
72
  /* harmony export */ });
11
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
73
+ function _defineProperty(obj, key, value) {
74
+ if (key in obj) {
75
+ Object.defineProperty(obj, key, {
76
+ value: value,
77
+ enumerable: true,
78
+ configurable: true,
79
+ writable: true
80
+ });
81
+ } else {
82
+ obj[key] = value;
83
+ }
84
+
85
+ return obj;
86
+ }
87
+
88
+ /***/ })
89
+
90
+ /******/ });
91
+ /************************************************************************/
92
+ /******/ // The module cache
93
+ /******/ var __webpack_module_cache__ = {};
94
+ /******/
95
+ /******/ // The require function
96
+ /******/ function __webpack_require__(moduleId) {
97
+ /******/ // Check if module is in cache
98
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
99
+ /******/ if (cachedModule !== undefined) {
100
+ /******/ return cachedModule.exports;
101
+ /******/ }
102
+ /******/ // Create a new module (and put it into the cache)
103
+ /******/ var module = __webpack_module_cache__[moduleId] = {
104
+ /******/ // no module.id needed
105
+ /******/ // no module.loaded needed
106
+ /******/ exports: {}
107
+ /******/ };
108
+ /******/
109
+ /******/ // Execute the module function
110
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
111
+ /******/
112
+ /******/ // Return the exports of the module
113
+ /******/ return module.exports;
114
+ /******/ }
115
+ /******/
116
+ /************************************************************************/
117
+ /******/ /* webpack/runtime/compat get default export */
118
+ /******/ !function() {
119
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
120
+ /******/ __webpack_require__.n = function(module) {
121
+ /******/ var getter = module && module.__esModule ?
122
+ /******/ function() { return module['default']; } :
123
+ /******/ function() { return module; };
124
+ /******/ __webpack_require__.d(getter, { a: getter });
125
+ /******/ return getter;
126
+ /******/ };
127
+ /******/ }();
128
+ /******/
129
+ /******/ /* webpack/runtime/define property getters */
130
+ /******/ !function() {
131
+ /******/ // define getter functions for harmony exports
132
+ /******/ __webpack_require__.d = function(exports, definition) {
133
+ /******/ for(var key in definition) {
134
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
135
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
136
+ /******/ }
137
+ /******/ }
138
+ /******/ };
139
+ /******/ }();
140
+ /******/
141
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
142
+ /******/ !function() {
143
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
144
+ /******/ }();
145
+ /******/
146
+ /******/ /* webpack/runtime/make namespace object */
147
+ /******/ !function() {
148
+ /******/ // define __esModule on exports
149
+ /******/ __webpack_require__.r = function(exports) {
150
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
151
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
152
+ /******/ }
153
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
154
+ /******/ };
155
+ /******/ }();
156
+ /******/
157
+ /************************************************************************/
158
+ var __webpack_exports__ = {};
159
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
160
+ !function() {
161
+ // ESM COMPAT FLAG
162
+ __webpack_require__.r(__webpack_exports__);
163
+
164
+ // EXPORTS
165
+ __webpack_require__.d(__webpack_exports__, {
166
+ "PlaneClipViewModel": function() { return /* reexport */ PlaneClipViewModel; },
167
+ "default": function() { return /* reexport */ PlaneClip; }
168
+ });
169
+
170
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
171
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
172
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
173
+ var gis_utils_ = __webpack_require__(826);
174
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
175
+ var defineProperty = __webpack_require__(8270);
176
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
177
+ var message = __webpack_require__(909);
178
+ ;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
12
179
 
13
180
  //平面裁剪逻辑类
181
+
14
182
  class PlaneClipViewModel {
15
183
  //三维viewer对象
16
184
  //平面裁剪存储参数对象
@@ -18,11 +186,11 @@ class PlaneClipViewModel {
18
186
  //绘制管理对象
19
187
  //绘制完成事件监听
20
188
  constructor(scenceView, options) {
21
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
189
+ (0,defineProperty/* default */.Z)(this, "_viewer", null);
22
190
 
23
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", {});
191
+ (0,defineProperty/* default */.Z)(this, "_options", {});
24
192
 
25
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_defaultOptions", {
193
+ (0,defineProperty/* default */.Z)(this, "_defaultOptions", {
26
194
  //默认参数对象
27
195
  x: 0,
28
196
  y: 0,
@@ -47,11 +215,11 @@ class PlaneClipViewModel {
47
215
  paddingStrokeSpace: 7.0
48
216
  });
49
217
 
50
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_planeclipAnalysis", null);
218
+ (0,defineProperty/* default */.Z)(this, "_planeclipAnalysis", null);
51
219
 
52
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
220
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
53
221
 
54
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
222
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
55
223
 
56
224
  this._options = Object.assign({}, options, this._defaultOptions);
57
225
  this._viewer = scenceView._viewer; // this._viewer.enabledFXAA = true;
@@ -113,7 +281,10 @@ class PlaneClipViewModel {
113
281
  image: null
114
282
  });
115
283
  } else {
116
- throw "请添加模型后裁剪!";
284
+ (0,message/* default */.Z)({
285
+ message: "请添加模型后裁剪!",
286
+ type: "warning"
287
+ });
117
288
  }
118
289
  } //清除全部
119
290
 
@@ -184,153 +355,6 @@ class PlaneClipViewModel {
184
355
  }
185
356
 
186
357
  }
187
-
188
- /***/ }),
189
-
190
- /***/ 348:
191
- /***/ (function(module) {
192
-
193
- module.exports = require("@kq_npm/client_icons_vue");
194
-
195
- /***/ }),
196
-
197
- /***/ 826:
198
- /***/ (function(module) {
199
-
200
- module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
201
-
202
- /***/ }),
203
-
204
- /***/ 9519:
205
- /***/ (function(module) {
206
-
207
- module.exports = require("@kq_npm/client_common_vue/_utils/util");
208
-
209
- /***/ }),
210
-
211
- /***/ 5406:
212
- /***/ (function(module) {
213
-
214
- module.exports = require("@kq_npm/client_common_vue/init.js");
215
-
216
- /***/ }),
217
-
218
- /***/ 637:
219
- /***/ (function(module) {
220
-
221
- module.exports = require("vue");
222
-
223
- /***/ }),
224
-
225
- /***/ 8270:
226
- /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
227
-
228
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
229
- /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
230
- /* harmony export */ });
231
- function _defineProperty(obj, key, value) {
232
- if (key in obj) {
233
- Object.defineProperty(obj, key, {
234
- value: value,
235
- enumerable: true,
236
- configurable: true,
237
- writable: true
238
- });
239
- } else {
240
- obj[key] = value;
241
- }
242
-
243
- return obj;
244
- }
245
-
246
- /***/ })
247
-
248
- /******/ });
249
- /************************************************************************/
250
- /******/ // The module cache
251
- /******/ var __webpack_module_cache__ = {};
252
- /******/
253
- /******/ // The require function
254
- /******/ function __webpack_require__(moduleId) {
255
- /******/ // Check if module is in cache
256
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
257
- /******/ if (cachedModule !== undefined) {
258
- /******/ return cachedModule.exports;
259
- /******/ }
260
- /******/ // Create a new module (and put it into the cache)
261
- /******/ var module = __webpack_module_cache__[moduleId] = {
262
- /******/ // no module.id needed
263
- /******/ // no module.loaded needed
264
- /******/ exports: {}
265
- /******/ };
266
- /******/
267
- /******/ // Execute the module function
268
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
269
- /******/
270
- /******/ // Return the exports of the module
271
- /******/ return module.exports;
272
- /******/ }
273
- /******/
274
- /************************************************************************/
275
- /******/ /* webpack/runtime/compat get default export */
276
- /******/ !function() {
277
- /******/ // getDefaultExport function for compatibility with non-harmony modules
278
- /******/ __webpack_require__.n = function(module) {
279
- /******/ var getter = module && module.__esModule ?
280
- /******/ function() { return module['default']; } :
281
- /******/ function() { return module; };
282
- /******/ __webpack_require__.d(getter, { a: getter });
283
- /******/ return getter;
284
- /******/ };
285
- /******/ }();
286
- /******/
287
- /******/ /* webpack/runtime/define property getters */
288
- /******/ !function() {
289
- /******/ // define getter functions for harmony exports
290
- /******/ __webpack_require__.d = function(exports, definition) {
291
- /******/ for(var key in definition) {
292
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
293
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
294
- /******/ }
295
- /******/ }
296
- /******/ };
297
- /******/ }();
298
- /******/
299
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
300
- /******/ !function() {
301
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
302
- /******/ }();
303
- /******/
304
- /******/ /* webpack/runtime/make namespace object */
305
- /******/ !function() {
306
- /******/ // define __esModule on exports
307
- /******/ __webpack_require__.r = function(exports) {
308
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
309
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
310
- /******/ }
311
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
312
- /******/ };
313
- /******/ }();
314
- /******/
315
- /************************************************************************/
316
- var __webpack_exports__ = {};
317
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
318
- !function() {
319
- // ESM COMPAT FLAG
320
- __webpack_require__.r(__webpack_exports__);
321
-
322
- // EXPORTS
323
- __webpack_require__.d(__webpack_exports__, {
324
- "PlaneClipViewModel": function() { return /* reexport */ PlaneClipViewModel/* default */.Z; },
325
- "default": function() { return /* reexport */ PlaneClip; }
326
- });
327
-
328
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
329
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
330
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
331
- var gis_utils_ = __webpack_require__(826);
332
- // EXTERNAL MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
333
- var PlaneClipViewModel = __webpack_require__(5673);
334
358
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
335
359
  var client_icons_vue_ = __webpack_require__(348);
336
360
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -451,7 +475,7 @@ const __default__ = {
451
475
  boxEnable: formItem.boxEnable,
452
476
  distance: formItem.clipDistance
453
477
  };
454
- viewModel = new PlaneClipViewModel/* default */.Z(scenceView, options);
478
+ viewModel = new PlaneClipViewModel(scenceView, options);
455
479
  }
456
480
  });
457
481
  setTimeout(() => {