@kq_npm/client3d_webgl_vue 2.6.9-beta → 2.7.0-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,7 +2,7 @@
2
2
  /******/ "use strict";
3
3
  /******/ var __webpack_modules__ = ({
4
4
 
5
- /***/ 705:
5
+ /***/ 7705:
6
6
  /***/ (function(module) {
7
7
 
8
8
 
@@ -74,10 +74,54 @@ module.exports = function (cssWithMappingToString) {
74
74
 
75
75
  /***/ }),
76
76
 
77
- /***/ 356:
77
+ /***/ 6311:
78
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
79
+
80
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
81
+ /* harmony export */ "Z": function() { return /* binding */ StatusBarViewModel; }
82
+ /* harmony export */ });
83
+ // 地图状态栏逻辑类
84
+ class StatusBarViewModel {
85
+ constructor(viewer, options) {
86
+ viewer.statusBar.show = true;
87
+ viewer.statusBar.readyPromise.then(() => {
88
+ // viewer.statusBar.container.style.bottom = "16px";
89
+ //viewer.statusBar.container.parentElement.style.right = "0px!important";
90
+ // console.log(viewer.statusBar.container.parentElement.style.right);
91
+ if (options.hideResolution) {
92
+ viewer.statusBar.hideResolution();
93
+ }
94
+
95
+ if (options.hideScale) {
96
+ viewer.statusBar.hideScale();
97
+ }
98
+
99
+ if (options.hideLonLat) {
100
+ viewer.statusBar.hideLonLat();
101
+ }
102
+
103
+ if (options.hideEyeAlt) {
104
+ viewer.statusBar.hideEyeAlt();
105
+ }
106
+
107
+ if (options.hideCopyright) {
108
+ viewer.statusBar.hideCopyright();
109
+ }
110
+
111
+ if (options.copyrightText) {
112
+ viewer.statusBar.setCopyrightText(options.copyrightText);
113
+ }
114
+ });
115
+ }
116
+
117
+ }
118
+
119
+ /***/ }),
120
+
121
+ /***/ 2356:
78
122
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
79
123
 
80
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(705);
124
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
81
125
  /* 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
126
  // Imports
83
127
 
@@ -90,7 +134,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".cesium-viewer-bottom{right:0px !impor
90
134
 
91
135
  /***/ }),
92
136
 
93
- /***/ 379:
137
+ /***/ 3379:
94
138
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
95
139
 
96
140
 
@@ -363,6 +407,27 @@ module.exports = function (list, options) {
363
407
  };
364
408
  };
365
409
 
410
+ /***/ }),
411
+
412
+ /***/ 826:
413
+ /***/ (function(module) {
414
+
415
+ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
416
+
417
+ /***/ }),
418
+
419
+ /***/ 5406:
420
+ /***/ (function(module) {
421
+
422
+ module.exports = require("@kq_npm/client_common_vue/init.js");
423
+
424
+ /***/ }),
425
+
426
+ /***/ 637:
427
+ /***/ (function(module) {
428
+
429
+ module.exports = require("vue");
430
+
366
431
  /***/ })
367
432
 
368
433
  /******/ });
@@ -446,50 +511,16 @@ __webpack_require__.r(__webpack_exports__);
446
511
 
447
512
  // EXPORTS
448
513
  __webpack_require__.d(__webpack_exports__, {
449
- "StatusBarViewModel": function() { return /* reexport */ StatusBarViewModel; },
514
+ "StatusBarViewModel": function() { return /* reexport */ StatusBarViewModel/* default */.Z; },
450
515
  "default": function() { return /* reexport */ StatusBar; }
451
516
  });
452
517
 
453
- ;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
454
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
455
- ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
456
- var gis_utils_namespaceObject = require("@kq_npm/client_common_vue/_utils/gis-utils");
457
- ;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBarViewModel.js
458
- // 地图状态栏逻辑类
459
- class StatusBarViewModel {
460
- constructor(viewer, options) {
461
- viewer.statusBar.show = true;
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);
466
- if (options.hideResolution) {
467
- viewer.statusBar.hideResolution();
468
- }
469
-
470
- if (options.hideScale) {
471
- viewer.statusBar.hideScale();
472
- }
473
-
474
- if (options.hideLonLat) {
475
- viewer.statusBar.hideLonLat();
476
- }
477
-
478
- if (options.hideEyeAlt) {
479
- viewer.statusBar.hideEyeAlt();
480
- }
481
-
482
- if (options.hideCopyright) {
483
- viewer.statusBar.hideCopyright();
484
- }
485
-
486
- if (options.copyrightText) {
487
- viewer.statusBar.setCopyrightText(options.copyrightText);
488
- }
489
- });
490
- }
491
-
492
- }
518
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
519
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
520
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
521
+ var gis_utils_ = __webpack_require__(826);
522
+ // EXTERNAL MODULE: ./src/webgl/statusbar/StatusBarViewModel.js
523
+ var StatusBarViewModel = __webpack_require__(6311);
493
524
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
494
525
 
495
526
 
@@ -529,10 +560,10 @@ const __default__ = {
529
560
  setup(__props) {
530
561
  const props = __props;
531
562
  let viewModel = null;
532
- (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
533
- gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
563
+ (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
564
+ gis_utils_.utils.getWebMap(null, scenceView => {
534
565
  if (scenceView) {
535
- viewModel = new StatusBarViewModel(scenceView._viewer, props);
566
+ viewModel = new StatusBarViewModel/* default */.Z(scenceView._viewer, props);
536
567
  }
537
568
  });
538
569
  });
@@ -545,10 +576,10 @@ const __default__ = {
545
576
  ;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
546
577
 
547
578
  // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
548
- var injectStylesIntoStyleTag = __webpack_require__(379);
579
+ var injectStylesIntoStyleTag = __webpack_require__(3379);
549
580
  var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
550
581
  // 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=b8692734&lang=scss
551
- var StatusBarvue_type_style_index_0_id_b8692734_lang_scss = __webpack_require__(356);
582
+ var StatusBarvue_type_style_index_0_id_b8692734_lang_scss = __webpack_require__(2356);
552
583
  ;// 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=b8692734&lang=scss
553
584
 
554
585
 
@@ -574,9 +605,9 @@ var update = injectStylesIntoStyleTag_default()(StatusBarvue_type_style_index_0_
574
605
  const __exports__ = StatusBarvue_type_script_setup_true_lang_js;
575
606
 
576
607
  /* harmony default export */ var StatusBar = (__exports__);
577
- ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
578
- var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
579
- var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
608
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
609
+ var init_js_ = __webpack_require__(5406);
610
+ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
580
611
  ;// CONCATENATED MODULE: ./src/webgl/statusbar/index.js
581
612
 
582
613