@kq_npm/client3d_webgl_vue 1.5.2-beta → 1.5.4-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 (36) hide show
  1. package/aspectanalysis/style/aspectanalysis.css +1 -1
  2. package/baseterraingallery/index.js +37 -47
  3. package/baseterraingallery/style/baseterraingallery.css +1 -1
  4. package/boxclip/index.js +13 -5
  5. package/boxclip/style/boxclip.css +1 -1
  6. package/excavatefillanalysis/style/excavatefillanalysis.css +1 -1
  7. package/flight/style/flight.css +1 -1
  8. package/floodanalysis/style/floodanalysis.css +1 -1
  9. package/gpuspatialquery/index.js +14 -14
  10. package/gpuspatialquery/style/gpuspatialquery.css +1 -1
  11. package/hawkeye/index.js +2 -2
  12. package/index.js +301 -183
  13. package/isolineanalysis/style/isolineanalysis.css +1 -1
  14. package/package.json +1 -1
  15. package/particleeffect/index.js +2 -1
  16. package/particleeffect/style/particleeffect.css +1 -1
  17. package/planeclip/index.js +18 -9
  18. package/planeclip/style/planeclip.css +1 -1
  19. package/profileanalysis/style/profileanalysis.css +1 -1
  20. package/roller/index.js +131 -81
  21. package/roller/style/roller.css +1 -1
  22. package/screenshot/style/screenshot.css +1 -1
  23. package/shadowanalysis/index.js +4 -2
  24. package/shadowanalysis/style/shadowanalysis.css +1 -1
  25. package/sightlineanalysis/style/sightlineanalysis.css +1 -1
  26. package/skylineanalysis/index.js +2 -1
  27. package/skylineanalysis/style/skylineanalysis.css +1 -1
  28. package/slopeanalysis/index.js +7 -2
  29. package/slopeanalysis/style/slopeanalysis.css +1 -1
  30. package/statusbar/index.js +424 -2
  31. package/style.css +1 -1
  32. package/terrainoperation/style/terrainoperation.css +1 -1
  33. package/underground/style/underground.css +1 -1
  34. package/viewshedanalysis/style/viewshedanalysis.css +1 -1
  35. package/weathereffect/index.js +20 -7
  36. package/weathereffect/style/weathereffect.css +1 -1
@@ -1,7 +1,395 @@
1
1
  /******/ (function() { // webpackBootstrap
2
2
  /******/ "use strict";
3
- /******/ // The require scope
4
- /******/ var __webpack_require__ = {};
3
+ /******/ var __webpack_modules__ = ({
4
+
5
+ /***/ 705:
6
+ /***/ (function(module) {
7
+
8
+
9
+ /*
10
+ MIT License http://www.opensource.org/licenses/mit-license.php
11
+ Author Tobias Koppers @sokra
12
+ */
13
+ // css base code, injected by the css-loader
14
+ // eslint-disable-next-line func-names
15
+
16
+ module.exports = function (cssWithMappingToString) {
17
+ var list = []; // return the list of modules as css string
18
+
19
+ list.toString = function toString() {
20
+ return this.map(function (item) {
21
+ var content = cssWithMappingToString(item);
22
+
23
+ if (item[2]) {
24
+ return "@media ".concat(item[2], " {").concat(content, "}");
25
+ }
26
+
27
+ return content;
28
+ }).join("");
29
+ }; // import a list of modules into the list
30
+ // eslint-disable-next-line func-names
31
+
32
+
33
+ list.i = function (modules, mediaQuery, dedupe) {
34
+ if (typeof modules === "string") {
35
+ // eslint-disable-next-line no-param-reassign
36
+ modules = [[null, modules, ""]];
37
+ }
38
+
39
+ var alreadyImportedModules = {};
40
+
41
+ if (dedupe) {
42
+ for (var i = 0; i < this.length; i++) {
43
+ // eslint-disable-next-line prefer-destructuring
44
+ var id = this[i][0];
45
+
46
+ if (id != null) {
47
+ alreadyImportedModules[id] = true;
48
+ }
49
+ }
50
+ }
51
+
52
+ for (var _i = 0; _i < modules.length; _i++) {
53
+ var item = [].concat(modules[_i]);
54
+
55
+ if (dedupe && alreadyImportedModules[item[0]]) {
56
+ // eslint-disable-next-line no-continue
57
+ continue;
58
+ }
59
+
60
+ if (mediaQuery) {
61
+ if (!item[2]) {
62
+ item[2] = mediaQuery;
63
+ } else {
64
+ item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
65
+ }
66
+ }
67
+
68
+ list.push(item);
69
+ }
70
+ };
71
+
72
+ return list;
73
+ };
74
+
75
+ /***/ }),
76
+
77
+ /***/ 181:
78
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
79
+
80
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(705);
81
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
82
+ // Imports
83
+
84
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
85
+ // Module
86
+ ___CSS_LOADER_EXPORT___.push([module.id, ".cesium-viewer-bottom{right:0px !important;display:flex;justify-content:center}.cesium-viewer-bottom .cesium-viewer-statusContainer{bottom:16px !important;font-size:16px;right:unset}", ""]);
87
+ // Exports
88
+ /* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
89
+
90
+
91
+ /***/ }),
92
+
93
+ /***/ 379:
94
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
95
+
96
+
97
+
98
+ var isOldIE = function isOldIE() {
99
+ var memo;
100
+ return function memorize() {
101
+ if (typeof memo === 'undefined') {
102
+ // Test for IE <= 9 as proposed by Browserhacks
103
+ // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
104
+ // Tests for existence of standard globals is to allow style-loader
105
+ // to operate correctly into non-standard environments
106
+ // @see https://github.com/webpack-contrib/style-loader/issues/177
107
+ memo = Boolean(window && document && document.all && !window.atob);
108
+ }
109
+
110
+ return memo;
111
+ };
112
+ }();
113
+
114
+ var getTarget = function getTarget() {
115
+ var memo = {};
116
+ return function memorize(target) {
117
+ if (typeof memo[target] === 'undefined') {
118
+ var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
119
+
120
+ if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
121
+ try {
122
+ // This will throw an exception if access to iframe is blocked
123
+ // due to cross-origin restrictions
124
+ styleTarget = styleTarget.contentDocument.head;
125
+ } catch (e) {
126
+ // istanbul ignore next
127
+ styleTarget = null;
128
+ }
129
+ }
130
+
131
+ memo[target] = styleTarget;
132
+ }
133
+
134
+ return memo[target];
135
+ };
136
+ }();
137
+
138
+ var stylesInDom = [];
139
+
140
+ function getIndexByIdentifier(identifier) {
141
+ var result = -1;
142
+
143
+ for (var i = 0; i < stylesInDom.length; i++) {
144
+ if (stylesInDom[i].identifier === identifier) {
145
+ result = i;
146
+ break;
147
+ }
148
+ }
149
+
150
+ return result;
151
+ }
152
+
153
+ function modulesToDom(list, options) {
154
+ var idCountMap = {};
155
+ var identifiers = [];
156
+
157
+ for (var i = 0; i < list.length; i++) {
158
+ var item = list[i];
159
+ var id = options.base ? item[0] + options.base : item[0];
160
+ var count = idCountMap[id] || 0;
161
+ var identifier = "".concat(id, " ").concat(count);
162
+ idCountMap[id] = count + 1;
163
+ var index = getIndexByIdentifier(identifier);
164
+ var obj = {
165
+ css: item[1],
166
+ media: item[2],
167
+ sourceMap: item[3]
168
+ };
169
+
170
+ if (index !== -1) {
171
+ stylesInDom[index].references++;
172
+ stylesInDom[index].updater(obj);
173
+ } else {
174
+ stylesInDom.push({
175
+ identifier: identifier,
176
+ updater: addStyle(obj, options),
177
+ references: 1
178
+ });
179
+ }
180
+
181
+ identifiers.push(identifier);
182
+ }
183
+
184
+ return identifiers;
185
+ }
186
+
187
+ function insertStyleElement(options) {
188
+ var style = document.createElement('style');
189
+ var attributes = options.attributes || {};
190
+
191
+ if (typeof attributes.nonce === 'undefined') {
192
+ var nonce = true ? __webpack_require__.nc : 0;
193
+
194
+ if (nonce) {
195
+ attributes.nonce = nonce;
196
+ }
197
+ }
198
+
199
+ Object.keys(attributes).forEach(function (key) {
200
+ style.setAttribute(key, attributes[key]);
201
+ });
202
+
203
+ if (typeof options.insert === 'function') {
204
+ options.insert(style);
205
+ } else {
206
+ var target = getTarget(options.insert || 'head');
207
+
208
+ if (!target) {
209
+ throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
210
+ }
211
+
212
+ target.appendChild(style);
213
+ }
214
+
215
+ return style;
216
+ }
217
+
218
+ function removeStyleElement(style) {
219
+ // istanbul ignore if
220
+ if (style.parentNode === null) {
221
+ return false;
222
+ }
223
+
224
+ style.parentNode.removeChild(style);
225
+ }
226
+ /* istanbul ignore next */
227
+
228
+
229
+ var replaceText = function replaceText() {
230
+ var textStore = [];
231
+ return function replace(index, replacement) {
232
+ textStore[index] = replacement;
233
+ return textStore.filter(Boolean).join('\n');
234
+ };
235
+ }();
236
+
237
+ function applyToSingletonTag(style, index, remove, obj) {
238
+ var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
239
+
240
+ /* istanbul ignore if */
241
+
242
+ if (style.styleSheet) {
243
+ style.styleSheet.cssText = replaceText(index, css);
244
+ } else {
245
+ var cssNode = document.createTextNode(css);
246
+ var childNodes = style.childNodes;
247
+
248
+ if (childNodes[index]) {
249
+ style.removeChild(childNodes[index]);
250
+ }
251
+
252
+ if (childNodes.length) {
253
+ style.insertBefore(cssNode, childNodes[index]);
254
+ } else {
255
+ style.appendChild(cssNode);
256
+ }
257
+ }
258
+ }
259
+
260
+ function applyToTag(style, options, obj) {
261
+ var css = obj.css;
262
+ var media = obj.media;
263
+ var sourceMap = obj.sourceMap;
264
+
265
+ if (media) {
266
+ style.setAttribute('media', media);
267
+ } else {
268
+ style.removeAttribute('media');
269
+ }
270
+
271
+ if (sourceMap && typeof btoa !== 'undefined') {
272
+ css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
273
+ } // For old IE
274
+
275
+ /* istanbul ignore if */
276
+
277
+
278
+ if (style.styleSheet) {
279
+ style.styleSheet.cssText = css;
280
+ } else {
281
+ while (style.firstChild) {
282
+ style.removeChild(style.firstChild);
283
+ }
284
+
285
+ style.appendChild(document.createTextNode(css));
286
+ }
287
+ }
288
+
289
+ var singleton = null;
290
+ var singletonCounter = 0;
291
+
292
+ function addStyle(obj, options) {
293
+ var style;
294
+ var update;
295
+ var remove;
296
+
297
+ if (options.singleton) {
298
+ var styleIndex = singletonCounter++;
299
+ style = singleton || (singleton = insertStyleElement(options));
300
+ update = applyToSingletonTag.bind(null, style, styleIndex, false);
301
+ remove = applyToSingletonTag.bind(null, style, styleIndex, true);
302
+ } else {
303
+ style = insertStyleElement(options);
304
+ update = applyToTag.bind(null, style, options);
305
+
306
+ remove = function remove() {
307
+ removeStyleElement(style);
308
+ };
309
+ }
310
+
311
+ update(obj);
312
+ return function updateStyle(newObj) {
313
+ if (newObj) {
314
+ if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
315
+ return;
316
+ }
317
+
318
+ update(obj = newObj);
319
+ } else {
320
+ remove();
321
+ }
322
+ };
323
+ }
324
+
325
+ module.exports = function (list, options) {
326
+ options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
327
+ // tags it will allow on a page
328
+
329
+ if (!options.singleton && typeof options.singleton !== 'boolean') {
330
+ options.singleton = isOldIE();
331
+ }
332
+
333
+ list = list || [];
334
+ var lastIdentifiers = modulesToDom(list, options);
335
+ return function update(newList) {
336
+ newList = newList || [];
337
+
338
+ if (Object.prototype.toString.call(newList) !== '[object Array]') {
339
+ return;
340
+ }
341
+
342
+ for (var i = 0; i < lastIdentifiers.length; i++) {
343
+ var identifier = lastIdentifiers[i];
344
+ var index = getIndexByIdentifier(identifier);
345
+ stylesInDom[index].references--;
346
+ }
347
+
348
+ var newLastIdentifiers = modulesToDom(newList, options);
349
+
350
+ for (var _i = 0; _i < lastIdentifiers.length; _i++) {
351
+ var _identifier = lastIdentifiers[_i];
352
+
353
+ var _index = getIndexByIdentifier(_identifier);
354
+
355
+ if (stylesInDom[_index].references === 0) {
356
+ stylesInDom[_index].updater();
357
+
358
+ stylesInDom.splice(_index, 1);
359
+ }
360
+ }
361
+
362
+ lastIdentifiers = newLastIdentifiers;
363
+ };
364
+ };
365
+
366
+ /***/ })
367
+
368
+ /******/ });
369
+ /************************************************************************/
370
+ /******/ // The module cache
371
+ /******/ var __webpack_module_cache__ = {};
372
+ /******/
373
+ /******/ // The require function
374
+ /******/ function __webpack_require__(moduleId) {
375
+ /******/ // Check if module is in cache
376
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
377
+ /******/ if (cachedModule !== undefined) {
378
+ /******/ return cachedModule.exports;
379
+ /******/ }
380
+ /******/ // Create a new module (and put it into the cache)
381
+ /******/ var module = __webpack_module_cache__[moduleId] = {
382
+ /******/ id: moduleId,
383
+ /******/ // no module.loaded needed
384
+ /******/ exports: {}
385
+ /******/ };
386
+ /******/
387
+ /******/ // Execute the module function
388
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
389
+ /******/
390
+ /******/ // Return the exports of the module
391
+ /******/ return module.exports;
392
+ /******/ }
5
393
  /******/
6
394
  /************************************************************************/
7
395
  /******/ /* webpack/runtime/compat get default export */
@@ -44,8 +432,15 @@
44
432
  /******/ };
45
433
  /******/ }();
46
434
  /******/
435
+ /******/ /* webpack/runtime/nonce */
436
+ /******/ !function() {
437
+ /******/ __webpack_require__.nc = undefined;
438
+ /******/ }();
439
+ /******/
47
440
  /************************************************************************/
48
441
  var __webpack_exports__ = {};
442
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
443
+ !function() {
49
444
  // ESM COMPAT FLAG
50
445
  __webpack_require__.r(__webpack_exports__);
51
446
 
@@ -65,6 +460,9 @@ class StatusBarViewModel {
65
460
  constructor(viewer, options) {
66
461
  viewer.statusBar.show = true;
67
462
  viewer.statusBar.readyPromise.then(() => {
463
+ // viewer.statusBar.container.style.bottom = "16px";
464
+ //viewer.statusBar.container.parentElement.style.right = "0px!important";
465
+ // console.log(viewer.statusBar.container.parentElement.style.right);
68
466
  if (options.hideResolution) {
69
467
  viewer.statusBar.hideResolution();
70
468
  }
@@ -143,10 +541,33 @@ const __default__ = {
143
541
  }));
144
542
  ;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
145
543
 
544
+ // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
545
+ var injectStylesIntoStyleTag = __webpack_require__(379);
546
+ var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
547
+ // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=de7c351a&lang=scss
548
+ var StatusBarvue_type_style_index_0_id_de7c351a_lang_scss = __webpack_require__(181);
549
+ ;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=de7c351a&lang=scss
550
+
551
+
552
+
553
+ var options = {};
554
+
555
+ options.insert = "head";
556
+ options.singleton = false;
557
+
558
+ var update = injectStylesIntoStyleTag_default()(StatusBarvue_type_style_index_0_id_de7c351a_lang_scss/* default */.Z, options);
559
+
560
+
561
+
562
+ /* harmony default export */ var statusbar_StatusBarvue_type_style_index_0_id_de7c351a_lang_scss = (StatusBarvue_type_style_index_0_id_de7c351a_lang_scss/* default.locals */.Z.locals || {});
563
+ ;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=de7c351a&lang=scss
564
+
146
565
  ;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue
147
566
 
148
567
 
149
568
 
569
+ ;
570
+
150
571
  const __exports__ = StatusBarvue_type_script_setup_true_lang_js;
151
572
 
152
573
  /* harmony default export */ var StatusBar = (__exports__);
@@ -164,6 +585,7 @@ StatusBar.install = (Vue, opts) => {
164
585
  };
165
586
 
166
587
 
588
+ }();
167
589
  module.exports = __webpack_exports__;
168
590
  /******/ })()
169
591
  ;