@kq_npm/client3d_webgl_vue 4.5.13 → 4.5.14
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 +3 -2
- package/aspectanalysis/index.js +3 -2
- package/baseterraingallery/index.js +1 -1
- package/boxclip/index.js +14 -13
- package/clientPrint/index.js +875 -584
- package/comparemap/index.js +5 -5
- package/compass/index.js +1 -1
- package/excavatefillanalysis/index.js +3 -2
- package/fixedzoomin/index.js +1 -1
- package/fixedzoomout/index.js +1 -1
- package/flight/index.js +1 -1
- package/floodanalysis/index.js +5 -4
- package/geologicalbodyanalysis/index.js +5 -4
- package/gpuspatialquery/index.js +5 -4
- package/hawkeye/index.js +3 -2
- package/headertemp/index.js +2 -2
- package/heatmap3d/index.js +22 -20
- package/index.js +870 -579
- package/isolineanalysis/index.js +46 -43
- package/light/index.js +11 -10
- package/limitheightanalysis/index.js +3 -2
- package/measure/index.js +2 -2
- package/modelFlat/index.js +3 -2
- package/modelexcavate/index.js +3 -2
- package/modelfilter/index.js +13 -12
- package/modelprofileanalysis/index.js +3 -2
- package/modelselect/index.js +3 -2
- package/package.json +1 -1
- package/particleeffect/index.js +15 -14
- package/planeclip/index.js +3 -2
- package/resetview/index.js +1 -1
- package/roller/index.js +2 -2
- package/scaneffect/index.js +5 -4
- package/sceneadvancedtoimage/index.js +3 -2
- package/sceneapp/index.js +506 -268
- package/sceneset/index.js +23 -22
- package/scenetohdimage/index.js +5 -4
- package/sceneview/index.js +875 -584
- package/screenshot/index.js +3 -2
- package/shadowanalysis/index.js +16 -13
- package/sightlineanalysis/index.js +6 -5
- package/skylineanalysis/index.js +5 -4
- package/slopeanalysis/index.js +17 -13
- package/slopeaspectanalysis/index.js +17 -13
- package/statusbar/index.js +1 -1
- package/terrainoperation/index.js +3 -2
- package/terrainprofileanalysis/index.js +3 -2
- package/underground/index.js +5 -4
- package/videofusion/index.js +12 -11
- package/videoproject/index.js +10 -9
- package/viewshedanalysis/index.js +3 -2
- package/weathereffect/index.js +11 -10
- package/wireframesketch/index.js +3 -2
package/sceneapp/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_types/global-event"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue"), require("@kq_npm/client3d_webgl_vue"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_lang/index.js"), require("@kq_npm/client_common_vue/_mixin/render"), require("@kq_npm/client_common_vue/_utils/webmapservice"), require("@kq_npm/client_common_vue/_utils/dictionaries")
|
|
3
|
+
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_types/global-event"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue"), require("@kq_npm/client3d_webgl_vue"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_lang/index.js"), require("@kq_npm/client_common_vue/_mixin/render"), require("@kq_npm/client_common_vue/_utils/webmapservice"), require("@kq_npm/client_common_vue/_utils/dictionaries"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_types/global-event", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue", "@kq_npm/client3d_webgl_vue", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_lang/index.js", "@kq_npm/client_common_vue/_mixin/render", "@kq_npm/client_common_vue/_utils/webmapservice", "@kq_npm/client_common_vue/_utils/dictionaries"
|
|
5
|
+
define(["vue", "@kq_npm/client_common_vue/_types/global-event", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue", "@kq_npm/client3d_webgl_vue", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_lang/index.js", "@kq_npm/client_common_vue/_mixin/render", "@kq_npm/client_common_vue/_utils/webmapservice", "@kq_npm/client_common_vue/_utils/dictionaries"], factory);
|
|
6
6
|
else {
|
|
7
|
-
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_types/global-event"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue"), require("@kq_npm/client3d_webgl_vue"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_lang/index.js"), require("@kq_npm/client_common_vue/_mixin/render"), require("@kq_npm/client_common_vue/_utils/webmapservice"), require("@kq_npm/client_common_vue/_utils/dictionaries")
|
|
7
|
+
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_types/global-event"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue"), require("@kq_npm/client3d_webgl_vue"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_lang/index.js"), require("@kq_npm/client_common_vue/_mixin/render"), require("@kq_npm/client_common_vue/_utils/webmapservice"), require("@kq_npm/client_common_vue/_utils/dictionaries")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_types/global-event"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue"], root["@kq_npm/client3d_webgl_vue"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_lang/index.js"], root["@kq_npm/client_common_vue/_mixin/render"], root["@kq_npm/client_common_vue/_utils/webmapservice"], root["@kq_npm/client_common_vue/_utils/dictionaries"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__3536__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7064__, __WEBPACK_EXTERNAL_MODULE__6459__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__5775__, __WEBPACK_EXTERNAL_MODULE__9678__, __WEBPACK_EXTERNAL_MODULE__3217__, __WEBPACK_EXTERNAL_MODULE__3569__
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__3536__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7064__, __WEBPACK_EXTERNAL_MODULE__6459__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__5775__, __WEBPACK_EXTERNAL_MODULE__9678__, __WEBPACK_EXTERNAL_MODULE__3217__, __WEBPACK_EXTERNAL_MODULE__3569__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
@@ -133,7 +133,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".kq-dynamicplotting-component[data-v-c
|
|
|
133
133
|
|
|
134
134
|
/***/ }),
|
|
135
135
|
|
|
136
|
-
/***/
|
|
136
|
+
/***/ 8622:
|
|
137
137
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
138
138
|
|
|
139
139
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
|
|
@@ -142,14 +142,14 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".kq-dynamicplotting-component[data-v-c
|
|
|
142
142
|
|
|
143
143
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
144
144
|
// Module
|
|
145
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".tool-bar-wrapper .tool-bar-wrapper-item[data-v-
|
|
145
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".tool-bar-wrapper .tool-bar-wrapper-item[data-v-989586f6]{position:relative;top:21px;right:76px;z-index:3000}.tool-bar-wrapper .kq-tool-bar .kq-tool-bar-wrap>ul[data-v-989586f6]:first-child{border-radius:4px 0 0 4px}.tool-bar-wrapper .kq-tool-bar .kq-tool-bar-wrap>ul[data-v-989586f6]:last-child{border-radius:0 4px 4px 0}.tool-bar-wrapper .ctrl-btn[data-v-989586f6]{position:absolute;top:0;right:0px;height:38px;width:19px;padding:0;border:none;box-shadow:var(--kq-box-shadow);transition:all .15s ease-in-out}.tool-bar-wrapper .ctrl-btn.ctrl-btn-hide .kq-icon[data-v-989586f6]{transform:rotate(180deg)}.tool-bar-wrapper .kq3d-underground[data-v-989586f6]{padding-left:12px}.tool-bar-wrapper .kq-form[data-v-989586f6]{margin-top:2px}", ""]);
|
|
146
146
|
// Exports
|
|
147
147
|
/* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
/***/ }),
|
|
151
151
|
|
|
152
|
-
/***/
|
|
152
|
+
/***/ 5109:
|
|
153
153
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
154
154
|
|
|
155
155
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
|
|
@@ -163,6 +163,22 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tool-box-wrapper-3d .kq-icon_grid{col
|
|
|
163
163
|
/* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
|
|
164
164
|
|
|
165
165
|
|
|
166
|
+
/***/ }),
|
|
167
|
+
|
|
168
|
+
/***/ 1939:
|
|
169
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
170
|
+
|
|
171
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
|
|
172
|
+
/* 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__);
|
|
173
|
+
// Imports
|
|
174
|
+
|
|
175
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
176
|
+
// Module
|
|
177
|
+
___CSS_LOADER_EXPORT___.push([module.id, "\n.print3-close-button[data-v-061f2d10] {\r\n padding: 0px !important;\r\n position: absolute;\r\n color: var(--kq-color-primary);\r\n top: 16px;\r\n right: 66px;\r\n cursor: pointer;\r\n width: 42px;\r\n height: 42px;\r\n font-size: 22px;\r\n z-index: 999999;\r\n border-radius: 50%;\r\n box-shadow: var(--kq-light-shadow);\n}\r\n", ""]);
|
|
178
|
+
// Exports
|
|
179
|
+
/* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
|
|
180
|
+
|
|
181
|
+
|
|
166
182
|
/***/ }),
|
|
167
183
|
|
|
168
184
|
/***/ 3379:
|
|
@@ -531,6 +547,13 @@ module.exports = require("element-plus/dist/index.full.js");
|
|
|
531
547
|
|
|
532
548
|
/***/ }),
|
|
533
549
|
|
|
550
|
+
/***/ 8618:
|
|
551
|
+
/***/ (function(module) {
|
|
552
|
+
|
|
553
|
+
module.exports = require("shpjs");
|
|
554
|
+
|
|
555
|
+
/***/ }),
|
|
556
|
+
|
|
534
557
|
/***/ 7080:
|
|
535
558
|
/***/ (function(module) {
|
|
536
559
|
|
|
@@ -608,13 +631,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
|
608
631
|
|
|
609
632
|
/***/ }),
|
|
610
633
|
|
|
611
|
-
/***/ 6709:
|
|
612
|
-
/***/ (function(module) {
|
|
613
|
-
|
|
614
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__6709__;
|
|
615
|
-
|
|
616
|
-
/***/ }),
|
|
617
|
-
|
|
618
634
|
/***/ 1895:
|
|
619
635
|
/***/ (function(module) {
|
|
620
636
|
|
|
@@ -661,6 +677,36 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
661
677
|
/******/ };
|
|
662
678
|
/******/ }();
|
|
663
679
|
/******/
|
|
680
|
+
/******/ /* webpack/runtime/create fake namespace object */
|
|
681
|
+
/******/ !function() {
|
|
682
|
+
/******/ var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };
|
|
683
|
+
/******/ var leafPrototypes;
|
|
684
|
+
/******/ // create a fake namespace object
|
|
685
|
+
/******/ // mode & 1: value is a module id, require it
|
|
686
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
687
|
+
/******/ // mode & 4: return value when already ns object
|
|
688
|
+
/******/ // mode & 16: return value when it's Promise-like
|
|
689
|
+
/******/ // mode & 8|1: behave like require
|
|
690
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
691
|
+
/******/ if(mode & 1) value = this(value);
|
|
692
|
+
/******/ if(mode & 8) return value;
|
|
693
|
+
/******/ if(typeof value === 'object' && value) {
|
|
694
|
+
/******/ if((mode & 4) && value.__esModule) return value;
|
|
695
|
+
/******/ if((mode & 16) && typeof value.then === 'function') return value;
|
|
696
|
+
/******/ }
|
|
697
|
+
/******/ var ns = Object.create(null);
|
|
698
|
+
/******/ __webpack_require__.r(ns);
|
|
699
|
+
/******/ var def = {};
|
|
700
|
+
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
|
701
|
+
/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
|
702
|
+
/******/ Object.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });
|
|
703
|
+
/******/ }
|
|
704
|
+
/******/ def['default'] = function() { return value; };
|
|
705
|
+
/******/ __webpack_require__.d(ns, def);
|
|
706
|
+
/******/ return ns;
|
|
707
|
+
/******/ };
|
|
708
|
+
/******/ }();
|
|
709
|
+
/******/
|
|
664
710
|
/******/ /* webpack/runtime/define property getters */
|
|
665
711
|
/******/ !function() {
|
|
666
712
|
/******/ // define getter functions for harmony exports
|
|
@@ -710,6 +756,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
710
756
|
var es_array_push_js_ = __webpack_require__(2118);
|
|
711
757
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
712
758
|
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
759
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.filter.js"
|
|
760
|
+
var esnext_iterator_filter_js_ = __webpack_require__(2753);
|
|
713
761
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
714
762
|
var esnext_iterator_for_each_js_ = __webpack_require__(1058);
|
|
715
763
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.map.js"
|
|
@@ -902,16 +950,17 @@ const resourceApi = {
|
|
|
902
950
|
}
|
|
903
951
|
};
|
|
904
952
|
/* harmony default export */ var api_resourceApi = (resourceApi);
|
|
953
|
+
// EXTERNAL MODULE: external "@kq_npm/client3d_webgl_vue"
|
|
954
|
+
var client3d_webgl_vue_ = __webpack_require__(6459);
|
|
905
955
|
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
906
956
|
var icons_vue_ = __webpack_require__(8422);
|
|
907
957
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
908
958
|
var client_icons_vue_ = __webpack_require__(348);
|
|
909
|
-
// EXTERNAL MODULE: external "@kq_npm/client3d_webgl_vue"
|
|
910
|
-
var client3d_webgl_vue_ = __webpack_require__(6459);
|
|
911
959
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
912
960
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
913
961
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sceneapp/components/AppToolBar.vue?vue&type=script&setup=true&lang=js
|
|
914
962
|
|
|
963
|
+
const _withScopeId = n => (_pushScopeId("data-v-989586f6"), n = n(), _popScopeId(), n);
|
|
915
964
|
const _hoisted_1 = {
|
|
916
965
|
class: "tool-bar-wrapper"
|
|
917
966
|
};
|
|
@@ -928,12 +977,11 @@ const _hoisted_2 = {
|
|
|
928
977
|
__name: 'AppToolBar',
|
|
929
978
|
emits: ["contrast"],
|
|
930
979
|
setup(__props, {
|
|
931
|
-
emit
|
|
980
|
+
emit
|
|
932
981
|
}) {
|
|
933
982
|
const {
|
|
934
983
|
proxy
|
|
935
984
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
936
|
-
const emit = __emit;
|
|
937
985
|
const props_params = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.inject)("props_params");
|
|
938
986
|
const portalPublicUrl = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.inject)("portalPublicUrl");
|
|
939
987
|
let isShowKqToolbar = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true);
|
|
@@ -1017,12 +1065,12 @@ const _hoisted_2 = {
|
|
|
1017
1065
|
childComponentProps: {
|
|
1018
1066
|
isCheckedShow: false,
|
|
1019
1067
|
skecthAttributes: {
|
|
1020
|
-
geometryServerUrl:
|
|
1021
|
-
geometryServerToken:
|
|
1068
|
+
geometryServerUrl: portalPublicUrl.value.geometryServerUrl,
|
|
1069
|
+
geometryServerToken: props_params.value.ua_token
|
|
1022
1070
|
},
|
|
1023
1071
|
featureAttributes: {
|
|
1024
|
-
geometryServerUrl:
|
|
1025
|
-
geometryServerToken:
|
|
1072
|
+
geometryServerUrl: portalPublicUrl.value.geometryServerUrl,
|
|
1073
|
+
geometryServerToken: props_params.value.ua_token
|
|
1026
1074
|
}
|
|
1027
1075
|
}
|
|
1028
1076
|
});
|
|
@@ -1096,8 +1144,8 @@ const _hoisted_2 = {
|
|
|
1096
1144
|
childComponent: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.markRaw)(client_common_vue_.KqFeatureIdentifyResult),
|
|
1097
1145
|
destroyDynamics: true,
|
|
1098
1146
|
childComponentProps: {
|
|
1099
|
-
geometryServerUrl:
|
|
1100
|
-
geometryServerToken:
|
|
1147
|
+
geometryServerUrl: portalPublicUrl.value.geometryServerUrl,
|
|
1148
|
+
geometryServerToken: props_params.value.ua_token,
|
|
1101
1149
|
isLocation: true
|
|
1102
1150
|
},
|
|
1103
1151
|
beforeHideMethod: function () {
|
|
@@ -1165,9 +1213,9 @@ const _hoisted_2 = {
|
|
|
1165
1213
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
1166
1214
|
var injectStylesIntoStyleTag = __webpack_require__(3379);
|
|
1167
1215
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
1168
|
-
// 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/sceneapp/components/AppToolBar.vue?vue&type=style&index=0&id=
|
|
1169
|
-
var
|
|
1170
|
-
;// 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/sceneapp/components/AppToolBar.vue?vue&type=style&index=0&id=
|
|
1216
|
+
// 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/sceneapp/components/AppToolBar.vue?vue&type=style&index=0&id=989586f6&lang=scss&scoped=true
|
|
1217
|
+
var AppToolBarvue_type_style_index_0_id_989586f6_lang_scss_scoped_true = __webpack_require__(8622);
|
|
1218
|
+
;// 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/sceneapp/components/AppToolBar.vue?vue&type=style&index=0&id=989586f6&lang=scss&scoped=true
|
|
1171
1219
|
|
|
1172
1220
|
|
|
1173
1221
|
|
|
@@ -1176,12 +1224,12 @@ var options = {};
|
|
|
1176
1224
|
options.insert = "head";
|
|
1177
1225
|
options.singleton = false;
|
|
1178
1226
|
|
|
1179
|
-
var update = injectStylesIntoStyleTag_default()(
|
|
1227
|
+
var update = injectStylesIntoStyleTag_default()(AppToolBarvue_type_style_index_0_id_989586f6_lang_scss_scoped_true/* default */.Z, options);
|
|
1180
1228
|
|
|
1181
1229
|
|
|
1182
1230
|
|
|
1183
|
-
/* harmony default export */ var
|
|
1184
|
-
;// CONCATENATED MODULE: ./src/webgl/sceneapp/components/AppToolBar.vue?vue&type=style&index=0&id=
|
|
1231
|
+
/* harmony default export */ var components_AppToolBarvue_type_style_index_0_id_989586f6_lang_scss_scoped_true = (AppToolBarvue_type_style_index_0_id_989586f6_lang_scss_scoped_true/* default.locals */.Z.locals || {});
|
|
1232
|
+
;// CONCATENATED MODULE: ./src/webgl/sceneapp/components/AppToolBar.vue?vue&type=style&index=0&id=989586f6&lang=scss&scoped=true
|
|
1185
1233
|
|
|
1186
1234
|
// EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js
|
|
1187
1235
|
var exportHelper = __webpack_require__(6021);
|
|
@@ -1192,11 +1240,9 @@ var exportHelper = __webpack_require__(6021);
|
|
|
1192
1240
|
;
|
|
1193
1241
|
|
|
1194
1242
|
|
|
1195
|
-
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(AppToolBarvue_type_script_setup_true_lang_js, [['__scopeId',"data-v-
|
|
1243
|
+
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(AppToolBarvue_type_script_setup_true_lang_js, [['__scopeId',"data-v-989586f6"]])
|
|
1196
1244
|
|
|
1197
1245
|
/* harmony default export */ var AppToolBar = (__exports__);
|
|
1198
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.filter.js"
|
|
1199
|
-
var esnext_iterator_filter_js_ = __webpack_require__(2753);
|
|
1200
1246
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
1201
1247
|
var esnext_iterator_find_js_ = __webpack_require__(8697);
|
|
1202
1248
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-exception.stack.js"
|
|
@@ -2010,8 +2056,6 @@ function createNewChildren(children) {
|
|
|
2010
2056
|
});
|
|
2011
2057
|
return newChildren;
|
|
2012
2058
|
}
|
|
2013
|
-
// EXTERNAL MODULE: external "shpjs"
|
|
2014
|
-
var external_shpjs_ = __webpack_require__(6709);
|
|
2015
2059
|
;// CONCATENATED MODULE: external "dompurify"
|
|
2016
2060
|
var external_dompurify_namespaceObject = require("dompurify");
|
|
2017
2061
|
;// CONCATENATED MODULE: ./src/common/_utils/util.js
|
|
@@ -2019,7 +2063,6 @@ var external_dompurify_namespaceObject = require("dompurify");
|
|
|
2019
2063
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
2020
2064
|
* All rights reserved.
|
|
2021
2065
|
*/// 获取当前时间返回置顶格式
|
|
2022
|
-
// import shp from "@/../node_modules/shpjs/dist/shp.esm.js";
|
|
2023
2066
|
/**
|
|
2024
2067
|
* 安全地设置html元素的innerHTML
|
|
2025
2068
|
* @param {HTMLElement} element - 要设置内容的HTML DOM元素
|
|
@@ -2080,7 +2123,8 @@ if(!defaultShowLayerNames){return isShowAllLayers;}else{let hasId=false;for(let
|
|
|
2080
2123
|
* @callbackFun 回调方法 传入解析后的features数组
|
|
2081
2124
|
*/function uploadCad(serverUrl,file,ua_token,language,epsg,callbackFun){if(serverUrl===""||serverUrl===undefined||serverUrl===null){KqMessage({message:language.value.importcadaddresserror+"!",type:"error",duration:2000});//callbackFun();
|
|
2082
2125
|
return;}let params=new KqGIS.GeometryAnalysis.CadParserParams({file:file});let dataUrl=serverUrl+"?ua_token="+ua_token;new KqGIS.GeometryAnalysis.CadParserService(dataUrl,{eventListeners:{processCompleted:response=>{const result=response.result;if(result){if(result.resultcode==="success"){let features=[];for(let i=0;i<result.result.length;i++){for(let j=0;j<result.result[i].features.length;j++){features.push(result.result[i].features[j]);}}let srs="";if(result.result[0].srs){srs=result.result[0].srs?result.result[0].srs:epsg?`EPSG:${epsg}`:"EPSG:4326";}else if(result.result[0].crs){let crs=result.result[0].crs.properties.name;srs="EPSG"+crs.substring(crs.lastIndexOf(":"));}if(!srs){srs="EPSG:3857";}let data={type:"FeatureCollection",srs:srs,features:features};if(srs==="EPSG:4326"||srs.indexOf("CRS84")>=0){callbackFun(data);}else{let projectfeatures=[];data.features.forEach(f=>{projectfeatures.push(f);});new KqGIS.GeometryAnalysis.ProjectSystemService(dataUrl,{eventListeners:{processCompleted:srsResponse=>{if(srsResponse.result.result.epsg!=4326){projectTransform(dataUrl,srsResponse.result.result.epsg,// inPrj
|
|
2083
|
-
"4326",projectfeatures,function(datafeature){let dataf={type:"FeatureCollection",features:datafeature};callbackFun&&callbackFun(dataf);});}else{let data={type:"FeatureCollection",features:projectfeatures};callbackFun&&callbackFun(data);}},processFailed:()=>{callbackFun();}}}).processAsync({srs:data.srs});}}else{KqMessage({message:language.imporcaderror+"!",type:"error",duration:2000});callbackFun();}}else{KqMessage({message:language.imporcaderror+"!",type:"error",duration:2000});callbackFun();}},processFailed:()=>{KqMessage({message:language.importshperror+"!",type:"error",duration:2000});callbackFun();}}}).processAsync(params);}function uploadSHP(file,callbackFun){var reader=new FileReader();reader.onload=function(e){
|
|
2126
|
+
"4326",projectfeatures,function(datafeature){let dataf={type:"FeatureCollection",features:datafeature};callbackFun&&callbackFun(dataf);});}else{let data={type:"FeatureCollection",features:projectfeatures};callbackFun&&callbackFun(data);}},processFailed:()=>{callbackFun();}}}).processAsync({srs:data.srs});}}else{KqMessage({message:language.imporcaderror+"!",type:"error",duration:2000});callbackFun();}}else{KqMessage({message:language.imporcaderror+"!",type:"error",duration:2000});callbackFun();}},processFailed:()=>{KqMessage({message:language.importshperror+"!",type:"error",duration:2000});callbackFun();}}}).processAsync(params);}function uploadSHP(file,callbackFun){var reader=new FileReader();reader.onload=async function(e){// 动态引入shpjs 解决动标和BI项目的冲突问题
|
|
2127
|
+
let shp=await Promise.resolve(/* import() */).then(__webpack_require__.t.bind(__webpack_require__, 8618, 23));let binary=e.target.result;let _shp=shp;let _getShapefile=null;if(typeof shp==="object"&&shp.default){_shp=shp.default;}if(typeof _shp==="object"){_getShapefile=_shp.getShapefile;}else if(typeof _shp==="function"){_getShapefile=_shp;}_getShapefile(binary).then(function(data){if(Array.isArray(data)){let features=[];for(let i=0;i<data.length;i++){for(let j=0;j<data[i].features.length;j++){features.push(data[i].features[j]);}}let fdata={type:"FeatureCollection",features:features};callbackFun&&callbackFun(fdata);}else{data.features&&data.features.forEach(ele=>{delete ele.geometry.bbox;});callbackFun&&callbackFun(data);}});};reader.readAsArrayBuffer(file);}/**
|
|
2084
2128
|
* 上传解析shp文件
|
|
2085
2129
|
* @serverUrl 服务url
|
|
2086
2130
|
* @file 上传file文件流
|
|
@@ -2366,6 +2410,7 @@ if(cb)cb();};}/**
|
|
|
2366
2410
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sceneapp/components/AppPlotting.vue?vue&type=script&setup=true&lang=js
|
|
2367
2411
|
|
|
2368
2412
|
|
|
2413
|
+
const AppPlottingvue_type_script_setup_true_lang_js_withScopeId = n => (_pushScopeId("data-v-c8ae73fc"), n = n(), _popScopeId(), n);
|
|
2369
2414
|
const AppPlottingvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
2370
2415
|
class: "kq-dynamicplotting-component"
|
|
2371
2416
|
};
|
|
@@ -2575,9 +2620,169 @@ var AppPlottingvue_type_style_index_0_id_c8ae73fc_scoped_true_lang_scss_update =
|
|
|
2575
2620
|
const AppPlotting_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(AppPlottingvue_type_script_setup_true_lang_js, [['__scopeId',"data-v-c8ae73fc"]])
|
|
2576
2621
|
|
|
2577
2622
|
/* harmony default export */ var AppPlotting = (AppPlotting_exports_);
|
|
2578
|
-
;// CONCATENATED MODULE: ./
|
|
2579
|
-
|
|
2623
|
+
;// CONCATENATED MODULE: ./src/webgl/sceneapp/config/tool-box.js
|
|
2624
|
+
/*
|
|
2625
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
2626
|
+
* All rights reserved.
|
|
2627
|
+
*/
|
|
2580
2628
|
|
|
2629
|
+
let getTooBox = ({
|
|
2630
|
+
common,
|
|
2631
|
+
leaflet,
|
|
2632
|
+
webgl
|
|
2633
|
+
}) => {
|
|
2634
|
+
return [{
|
|
2635
|
+
label: webgl.analysis3D,
|
|
2636
|
+
isOpen: false,
|
|
2637
|
+
children: [{
|
|
2638
|
+
label: webgl.sightlineAnalysis,
|
|
2639
|
+
icon: client_icons_vue_.IconSightlineAnalysis,
|
|
2640
|
+
value: "Kq3dSightlineAnalysis"
|
|
2641
|
+
}, {
|
|
2642
|
+
label: webgl.viewshedAnalysis,
|
|
2643
|
+
icon: client_icons_vue_.IconViewshedAnalysis,
|
|
2644
|
+
value: "Kq3dViewshedAnalysis"
|
|
2645
|
+
}, {
|
|
2646
|
+
label: webgl.shadowAnalysis,
|
|
2647
|
+
icon: client_icons_vue_.IconShadowAnalysis,
|
|
2648
|
+
value: "Kq3dShadowAnalysis"
|
|
2649
|
+
}, {
|
|
2650
|
+
label: webgl.modelProfileAnalysis,
|
|
2651
|
+
icon: client_icons_vue_.IconProfileAnalysis,
|
|
2652
|
+
value: "Kq3dModelProfileAnalysis"
|
|
2653
|
+
}, {
|
|
2654
|
+
label: webgl.skylineAnalysis,
|
|
2655
|
+
icon: client_icons_vue_.IconSkylineAnalysis,
|
|
2656
|
+
value: "Kq3dSkylineAnalysis"
|
|
2657
|
+
}, {
|
|
2658
|
+
label: webgl.limitHeightAnalysis,
|
|
2659
|
+
icon: client_icons_vue_.IconHeightLimitAnalysis,
|
|
2660
|
+
value: "Kq3dLimitHeightAnalysis"
|
|
2661
|
+
}, {
|
|
2662
|
+
label: webgl.floodModel + webgl.floodAnalysis1,
|
|
2663
|
+
icon: client_icons_vue_.IconFloodAnalysis,
|
|
2664
|
+
value: "ModelFloodAnalysis"
|
|
2665
|
+
}, {
|
|
2666
|
+
label: webgl.geologyBodyAnalysis,
|
|
2667
|
+
icon: client_icons_vue_.IconGeologicalAnalysis,
|
|
2668
|
+
value: "Kq3dGeologicalBodyAnalysis"
|
|
2669
|
+
}, {
|
|
2670
|
+
label: webgl.modelFilterPick,
|
|
2671
|
+
icon: client_icons_vue_.IconModelFiltering,
|
|
2672
|
+
value: "Kq3dModelFilter"
|
|
2673
|
+
}, {
|
|
2674
|
+
label: webgl.wireFrameSketch,
|
|
2675
|
+
icon: client_icons_vue_.IconWireframeSketch,
|
|
2676
|
+
value: "Kq3dWireframeSketch"
|
|
2677
|
+
}]
|
|
2678
|
+
}, {
|
|
2679
|
+
label: webgl.terrainAnalysis,
|
|
2680
|
+
isOpen: false,
|
|
2681
|
+
children: [{
|
|
2682
|
+
label: webgl.terrainOperation,
|
|
2683
|
+
icon: client_icons_vue_.IconTerrainOperation,
|
|
2684
|
+
value: "Kq3dTerrainOperation"
|
|
2685
|
+
}, {
|
|
2686
|
+
label: webgl.excavateFillAnalysis,
|
|
2687
|
+
icon: client_icons_vue_.IconExcavateFillAnalysis,
|
|
2688
|
+
value: "Kq3dExcavateFillAnalysis"
|
|
2689
|
+
}, {
|
|
2690
|
+
label: webgl.slopeAnalysis,
|
|
2691
|
+
icon: client_icons_vue_.IconSlopeAnalysis,
|
|
2692
|
+
value: "Kq3dSlopeAnalysis"
|
|
2693
|
+
}, {
|
|
2694
|
+
label: webgl.aspectAnalysis,
|
|
2695
|
+
icon: client_icons_vue_.IconAspectAnalysis,
|
|
2696
|
+
value: "Kq3dAspectAnalysis"
|
|
2697
|
+
}, {
|
|
2698
|
+
label: webgl.isolineAnalysis,
|
|
2699
|
+
icon: client_icons_vue_.IconIsolineAnalysis,
|
|
2700
|
+
value: "Kq3dIsolineAnalysis"
|
|
2701
|
+
}, {
|
|
2702
|
+
label: webgl.floodTerrain + webgl.floodAnalysis1,
|
|
2703
|
+
icon: client_icons_vue_.IconFloodAnalysis,
|
|
2704
|
+
value: "TerrainFloodAnalysis"
|
|
2705
|
+
}, {
|
|
2706
|
+
label: webgl.terrainProfileName,
|
|
2707
|
+
icon: client_icons_vue_.IconProfileAnalysis,
|
|
2708
|
+
value: "Kq3dTerrainProfileAnalysis"
|
|
2709
|
+
}]
|
|
2710
|
+
}, {
|
|
2711
|
+
label: webgl.clipAnalysis,
|
|
2712
|
+
isOpen: false,
|
|
2713
|
+
children: [{
|
|
2714
|
+
label: webgl.boxClip,
|
|
2715
|
+
icon: client_icons_vue_.IconBoxClip,
|
|
2716
|
+
value: "Kq3dBoxClip"
|
|
2717
|
+
}, {
|
|
2718
|
+
label: webgl.planeClip,
|
|
2719
|
+
icon: client_icons_vue_.IconPlaneClip,
|
|
2720
|
+
value: "Kq3dPlaneClip"
|
|
2721
|
+
}]
|
|
2722
|
+
}, {
|
|
2723
|
+
label: webgl.specialEffects,
|
|
2724
|
+
isOpen: false,
|
|
2725
|
+
children: [{
|
|
2726
|
+
label: webgl.weatherEffect,
|
|
2727
|
+
icon: client_icons_vue_.IconWeatherEffect,
|
|
2728
|
+
value: "Kq3dWeatherEffect"
|
|
2729
|
+
}, {
|
|
2730
|
+
label: webgl.particleEffect,
|
|
2731
|
+
icon: client_icons_vue_.IconParticleEffect,
|
|
2732
|
+
value: "Kq3dParticleEffect"
|
|
2733
|
+
}, {
|
|
2734
|
+
label: webgl.scanningTitle,
|
|
2735
|
+
icon: client_icons_vue_.IconScanningLine,
|
|
2736
|
+
value: "Kq3dScanEffect"
|
|
2737
|
+
}]
|
|
2738
|
+
}, {
|
|
2739
|
+
label: webgl.scene,
|
|
2740
|
+
isOpen: false,
|
|
2741
|
+
children: [{
|
|
2742
|
+
label: webgl.sceneSet,
|
|
2743
|
+
icon: client_icons_vue_.IconSceneSettings,
|
|
2744
|
+
value: "Kq3dSceneSet"
|
|
2745
|
+
}, {
|
|
2746
|
+
label: webgl.light,
|
|
2747
|
+
icon: client_icons_vue_.IconLighting,
|
|
2748
|
+
value: "Kq3dLight"
|
|
2749
|
+
}, {
|
|
2750
|
+
label: webgl.videoFusion,
|
|
2751
|
+
icon: client_icons_vue_.IconVideoFusion,
|
|
2752
|
+
value: "Kq3dVideoFusion"
|
|
2753
|
+
}, {
|
|
2754
|
+
label: webgl.videoProject,
|
|
2755
|
+
icon: client_icons_vue_.IconVideoProjection,
|
|
2756
|
+
value: "Kq3dVideoProject"
|
|
2757
|
+
}]
|
|
2758
|
+
}, {
|
|
2759
|
+
label: common.dynamicPlottingTitle,
|
|
2760
|
+
isOpen: false,
|
|
2761
|
+
children: [{
|
|
2762
|
+
label: common.dynamicPlottingTitle,
|
|
2763
|
+
icon: client_icons_vue_.IconPlottingSymbolManage,
|
|
2764
|
+
value: "dynamicplotting"
|
|
2765
|
+
}]
|
|
2766
|
+
}, {
|
|
2767
|
+
label: webgl.visualization,
|
|
2768
|
+
isOpen: false,
|
|
2769
|
+
children: [{
|
|
2770
|
+
label: webgl.heatmapTitle,
|
|
2771
|
+
icon: client_icons_vue_.IconHeatMap3D,
|
|
2772
|
+
value: "Kq3dHeatmap"
|
|
2773
|
+
}]
|
|
2774
|
+
}, {
|
|
2775
|
+
label: common.seaChart,
|
|
2776
|
+
isOpen: false,
|
|
2777
|
+
children: [{
|
|
2778
|
+
label: common.chartset,
|
|
2779
|
+
icon: client_icons_vue_.IconSeaChartSet,
|
|
2780
|
+
value: "KqChartSet"
|
|
2781
|
+
}]
|
|
2782
|
+
}];
|
|
2783
|
+
};
|
|
2784
|
+
/* harmony default export */ var tool_box = (getTooBox);
|
|
2785
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sceneapp/components/AppToolBox.vue?vue&type=script&setup=true&lang=js
|
|
2581
2786
|
|
|
2582
2787
|
const AppToolBoxvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
2583
2788
|
class: "tool-box-wrapper-3d"
|
|
@@ -2595,23 +2800,32 @@ const AppToolBoxvue_type_script_setup_true_lang_js_hoisted_3 = {
|
|
|
2595
2800
|
|
|
2596
2801
|
|
|
2597
2802
|
|
|
2803
|
+
|
|
2598
2804
|
const __default__ = {
|
|
2599
2805
|
name: "AppToolBox"
|
|
2600
2806
|
};
|
|
2601
|
-
/* harmony default export */ var AppToolBoxvue_type_script_setup_true_lang_js = (
|
|
2807
|
+
/* harmony default export */ var AppToolBoxvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
2602
2808
|
props: {
|
|
2603
2809
|
viewId: String
|
|
2604
2810
|
},
|
|
2811
|
+
emits: ["collapse", "openPrint"],
|
|
2605
2812
|
setup(__props, {
|
|
2606
|
-
expose: __expose
|
|
2813
|
+
expose: __expose,
|
|
2814
|
+
emit
|
|
2607
2815
|
}) {
|
|
2608
2816
|
const props = __props;
|
|
2609
2817
|
const {
|
|
2610
2818
|
proxy
|
|
2611
2819
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
2612
2820
|
const isShowKqToolbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
2613
|
-
|
|
2614
|
-
|
|
2821
|
+
// 监听toolbox 展开收起
|
|
2822
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => isShowKqToolbox.value, (newVal, oldVal) => {
|
|
2823
|
+
if (newVal) {
|
|
2824
|
+
emit("collapse", false);
|
|
2825
|
+
} else {
|
|
2826
|
+
emit("collapse", true);
|
|
2827
|
+
}
|
|
2828
|
+
});
|
|
2615
2829
|
// 获取国际化文字信息
|
|
2616
2830
|
let {
|
|
2617
2831
|
t
|
|
@@ -2620,167 +2834,9 @@ const __default__ = {
|
|
|
2620
2834
|
let language = proxy.$i18n.global.messages[langLocal];
|
|
2621
2835
|
const props_params = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.inject)("props_params");
|
|
2622
2836
|
const portalPublicUrl = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.inject)("portalPublicUrl");
|
|
2623
|
-
const mapTarget = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("mainMap");
|
|
2624
|
-
let screenshotRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
2625
|
-
let webPrintRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
2626
|
-
let isShowKqToolCommon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
2627
2837
|
let isView = true;
|
|
2628
|
-
|
|
2629
|
-
let
|
|
2630
|
-
appContext
|
|
2631
|
-
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
2632
|
-
let toolsList3d = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([{
|
|
2633
|
-
label: language.webgl.analysis3D,
|
|
2634
|
-
isOpen: false,
|
|
2635
|
-
children: [{
|
|
2636
|
-
label: language.webgl.sightlineAnalysis,
|
|
2637
|
-
icon: client_icons_vue_.IconSightlineAnalysis,
|
|
2638
|
-
value: "Kq3dSightlineAnalysis"
|
|
2639
|
-
}, {
|
|
2640
|
-
label: language.webgl.viewshedAnalysis,
|
|
2641
|
-
icon: client_icons_vue_.IconViewshedAnalysis,
|
|
2642
|
-
value: "Kq3dViewshedAnalysis"
|
|
2643
|
-
}, {
|
|
2644
|
-
label: language.webgl.shadowAnalysis,
|
|
2645
|
-
icon: client_icons_vue_.IconShadowAnalysis,
|
|
2646
|
-
value: "Kq3dShadowAnalysis"
|
|
2647
|
-
}, {
|
|
2648
|
-
label: language.webgl.modelProfileAnalysis,
|
|
2649
|
-
icon: client_icons_vue_.IconProfileAnalysis,
|
|
2650
|
-
value: "Kq3dModelProfileAnalysis"
|
|
2651
|
-
}, {
|
|
2652
|
-
label: language.webgl.skylineAnalysis,
|
|
2653
|
-
icon: client_icons_vue_.IconSkylineAnalysis,
|
|
2654
|
-
value: "Kq3dSkylineAnalysis"
|
|
2655
|
-
}, {
|
|
2656
|
-
label: language.webgl.limitHeightAnalysis,
|
|
2657
|
-
icon: client_icons_vue_.IconHeightLimitAnalysis,
|
|
2658
|
-
value: "Kq3dLimitHeightAnalysis"
|
|
2659
|
-
}, {
|
|
2660
|
-
label: language.webgl.floodModel + language.webgl.floodAnalysis1,
|
|
2661
|
-
icon: client_icons_vue_.IconFloodAnalysis,
|
|
2662
|
-
value: "ModelFloodAnalysis"
|
|
2663
|
-
}, {
|
|
2664
|
-
label: language.webgl.geologyBodyAnalysis,
|
|
2665
|
-
icon: client_icons_vue_.IconGeologicalAnalysis,
|
|
2666
|
-
value: "Kq3dGeologicalBodyAnalysis"
|
|
2667
|
-
}, {
|
|
2668
|
-
label: language.webgl.modelFilterPick,
|
|
2669
|
-
icon: client_icons_vue_.IconModelFiltering,
|
|
2670
|
-
value: "Kq3dModelFilter"
|
|
2671
|
-
}, {
|
|
2672
|
-
label: language.webgl.wireFrameSketch,
|
|
2673
|
-
icon: client_icons_vue_.IconWireframeSketch,
|
|
2674
|
-
value: "Kq3dWireframeSketch"
|
|
2675
|
-
}]
|
|
2676
|
-
}, {
|
|
2677
|
-
label: language.webgl.terrainAnalysis,
|
|
2678
|
-
isOpen: false,
|
|
2679
|
-
children: [{
|
|
2680
|
-
label: language.webgl.terrainOperation,
|
|
2681
|
-
icon: client_icons_vue_.IconTerrainOperation,
|
|
2682
|
-
value: "Kq3dTerrainOperation"
|
|
2683
|
-
}, {
|
|
2684
|
-
label: language.webgl.excavateFillAnalysis,
|
|
2685
|
-
icon: client_icons_vue_.IconExcavateFillAnalysis,
|
|
2686
|
-
value: "Kq3dExcavateFillAnalysis"
|
|
2687
|
-
}, {
|
|
2688
|
-
label: language.webgl.slopeAnalysis,
|
|
2689
|
-
icon: client_icons_vue_.IconSlopeAnalysis,
|
|
2690
|
-
value: "Kq3dSlopeAnalysis"
|
|
2691
|
-
}, {
|
|
2692
|
-
label: language.webgl.aspectAnalysis,
|
|
2693
|
-
icon: client_icons_vue_.IconAspectAnalysis,
|
|
2694
|
-
value: "Kq3dAspectAnalysis"
|
|
2695
|
-
}, {
|
|
2696
|
-
label: language.webgl.isolineAnalysis,
|
|
2697
|
-
icon: client_icons_vue_.IconIsolineAnalysis,
|
|
2698
|
-
value: "Kq3dIsolineAnalysis"
|
|
2699
|
-
}, {
|
|
2700
|
-
label: language.webgl.floodTerrain + language.webgl.floodAnalysis1,
|
|
2701
|
-
icon: client_icons_vue_.IconFloodAnalysis,
|
|
2702
|
-
value: "TerrainFloodAnalysis"
|
|
2703
|
-
}, {
|
|
2704
|
-
label: language.webgl.terrainProfileName,
|
|
2705
|
-
icon: client_icons_vue_.IconProfileAnalysis,
|
|
2706
|
-
value: "Kq3dTerrainProfileAnalysis"
|
|
2707
|
-
}]
|
|
2708
|
-
}, {
|
|
2709
|
-
label: language.webgl.clipAnalysis,
|
|
2710
|
-
isOpen: false,
|
|
2711
|
-
children: [{
|
|
2712
|
-
label: language.webgl.boxClip,
|
|
2713
|
-
icon: client_icons_vue_.IconBoxClip,
|
|
2714
|
-
value: "Kq3dBoxClip"
|
|
2715
|
-
}, {
|
|
2716
|
-
label: language.webgl.planeClip,
|
|
2717
|
-
icon: client_icons_vue_.IconPlaneClip,
|
|
2718
|
-
value: "Kq3dPlaneClip"
|
|
2719
|
-
}]
|
|
2720
|
-
}, {
|
|
2721
|
-
label: language.webgl.specialEffects,
|
|
2722
|
-
isOpen: false,
|
|
2723
|
-
children: [{
|
|
2724
|
-
label: language.webgl.weatherEffect,
|
|
2725
|
-
icon: client_icons_vue_.IconWeatherEffect,
|
|
2726
|
-
value: "Kq3dWeatherEffect"
|
|
2727
|
-
}, {
|
|
2728
|
-
label: language.webgl.particleEffect,
|
|
2729
|
-
icon: client_icons_vue_.IconParticleEffect,
|
|
2730
|
-
value: "Kq3dParticleEffect"
|
|
2731
|
-
}, {
|
|
2732
|
-
label: language.webgl.scanningTitle,
|
|
2733
|
-
icon: client_icons_vue_.IconScanningLine,
|
|
2734
|
-
value: "Kq3dScanEffect"
|
|
2735
|
-
}]
|
|
2736
|
-
}, {
|
|
2737
|
-
label: language.webgl.scene,
|
|
2738
|
-
isOpen: false,
|
|
2739
|
-
children: [{
|
|
2740
|
-
label: language.webgl.sceneSet,
|
|
2741
|
-
icon: client_icons_vue_.IconSceneSettings,
|
|
2742
|
-
value: "Kq3dSceneSet"
|
|
2743
|
-
}, {
|
|
2744
|
-
label: language.webgl.light,
|
|
2745
|
-
icon: client_icons_vue_.IconLighting,
|
|
2746
|
-
value: "Kq3dLight"
|
|
2747
|
-
}, {
|
|
2748
|
-
label: language.webgl.videoFusion,
|
|
2749
|
-
icon: client_icons_vue_.IconVideoFusion,
|
|
2750
|
-
value: "Kq3dVideoFusion"
|
|
2751
|
-
}, {
|
|
2752
|
-
label: language.webgl.videoProject,
|
|
2753
|
-
icon: client_icons_vue_.IconVideoProjection,
|
|
2754
|
-
value: "Kq3dVideoProject"
|
|
2755
|
-
}]
|
|
2756
|
-
}, {
|
|
2757
|
-
label: language.common.dynamicPlottingTitle,
|
|
2758
|
-
isOpen: false,
|
|
2759
|
-
children: [{
|
|
2760
|
-
label: language.common.dynamicPlottingTitle,
|
|
2761
|
-
icon: client_icons_vue_.IconPlottingSymbolManage,
|
|
2762
|
-
value: "dynamicplotting",
|
|
2763
|
-
disabled: true
|
|
2764
|
-
}]
|
|
2765
|
-
}, {
|
|
2766
|
-
label: language.webgl.visualization,
|
|
2767
|
-
isOpen: false,
|
|
2768
|
-
children: [{
|
|
2769
|
-
label: language.webgl.heatmapTitle,
|
|
2770
|
-
icon: client_icons_vue_.IconHeatMap3D,
|
|
2771
|
-
value: "Kq3dHeatmap"
|
|
2772
|
-
}]
|
|
2773
|
-
}, {
|
|
2774
|
-
label: language.common.seaChart,
|
|
2775
|
-
isOpen: false,
|
|
2776
|
-
children: [{
|
|
2777
|
-
label: language.common.chartset,
|
|
2778
|
-
icon: client_icons_vue_.IconSeaChartSet,
|
|
2779
|
-
value: "KqChartSet",
|
|
2780
|
-
disabled: true
|
|
2781
|
-
}]
|
|
2782
|
-
}]);
|
|
2783
|
-
|
|
2838
|
+
// 工具箱数据
|
|
2839
|
+
let toolsList3d = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(tool_box(language));
|
|
2784
2840
|
// toolbox 选择事件
|
|
2785
2841
|
const toolboxSelect = value => {
|
|
2786
2842
|
switch (value) {
|
|
@@ -2932,34 +2988,21 @@ const __default__ = {
|
|
|
2932
2988
|
const ctrlToolBoxShow = () => {
|
|
2933
2989
|
isShowKqToolbox.value = !isShowKqToolbox.value;
|
|
2934
2990
|
};
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
let
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2991
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {});
|
|
2992
|
+
const filter = hideValues => {
|
|
2993
|
+
const data = tool_box(language);
|
|
2994
|
+
for (let i = 0; i < data.length; i++) {
|
|
2995
|
+
if (!data[i].children) continue;
|
|
2996
|
+
for (let z = data[i].children.length - 1; z >= 0; z--) {
|
|
2997
|
+
if (hideValues.indexOf(data[i].children[z].value.toLowerCase()) > -1) {
|
|
2998
|
+
data[i].children.splice(z, 1);
|
|
2999
|
+
}
|
|
2943
3000
|
}
|
|
2944
3001
|
}
|
|
2945
|
-
|
|
2946
|
-
};
|
|
2947
|
-
|
|
2948
|
-
// 禁用或启用功能菜单
|
|
2949
|
-
const disabledMenu = (name, disabled) => {
|
|
2950
|
-
toolsList3d.forEach(tool => {
|
|
2951
|
-
if (tool.children) {
|
|
2952
|
-
tool.children.forEach(child => {
|
|
2953
|
-
if (child.label === name) {
|
|
2954
|
-
child.disabled = disabled;
|
|
2955
|
-
}
|
|
2956
|
-
});
|
|
2957
|
-
}
|
|
2958
|
-
});
|
|
3002
|
+
toolsList3d.value = data;
|
|
2959
3003
|
};
|
|
2960
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {});
|
|
2961
3004
|
__expose({
|
|
2962
|
-
|
|
3005
|
+
filter
|
|
2963
3006
|
});
|
|
2964
3007
|
return (_ctx, _cache) => {
|
|
2965
3008
|
const _component_kq_tool_box = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-tool-box");
|
|
@@ -2998,23 +3041,23 @@ const __default__ = {
|
|
|
2998
3041
|
}));
|
|
2999
3042
|
;// CONCATENATED MODULE: ./src/webgl/sceneapp/components/AppToolBox.vue?vue&type=script&setup=true&lang=js
|
|
3000
3043
|
|
|
3001
|
-
// 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/sceneapp/components/AppToolBox.vue?vue&type=style&index=0&id=
|
|
3002
|
-
var
|
|
3003
|
-
;// 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/sceneapp/components/AppToolBox.vue?vue&type=style&index=0&id=
|
|
3044
|
+
// 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/sceneapp/components/AppToolBox.vue?vue&type=style&index=0&id=311cc590&lang=scss
|
|
3045
|
+
var AppToolBoxvue_type_style_index_0_id_311cc590_lang_scss = __webpack_require__(5109);
|
|
3046
|
+
;// 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/sceneapp/components/AppToolBox.vue?vue&type=style&index=0&id=311cc590&lang=scss
|
|
3004
3047
|
|
|
3005
3048
|
|
|
3006
3049
|
|
|
3007
|
-
var
|
|
3050
|
+
var AppToolBoxvue_type_style_index_0_id_311cc590_lang_scss_options = {};
|
|
3008
3051
|
|
|
3009
|
-
|
|
3010
|
-
|
|
3052
|
+
AppToolBoxvue_type_style_index_0_id_311cc590_lang_scss_options.insert = "head";
|
|
3053
|
+
AppToolBoxvue_type_style_index_0_id_311cc590_lang_scss_options.singleton = false;
|
|
3011
3054
|
|
|
3012
|
-
var
|
|
3055
|
+
var AppToolBoxvue_type_style_index_0_id_311cc590_lang_scss_update = injectStylesIntoStyleTag_default()(AppToolBoxvue_type_style_index_0_id_311cc590_lang_scss/* default */.Z, AppToolBoxvue_type_style_index_0_id_311cc590_lang_scss_options);
|
|
3013
3056
|
|
|
3014
3057
|
|
|
3015
3058
|
|
|
3016
|
-
/* harmony default export */ var
|
|
3017
|
-
;// CONCATENATED MODULE: ./src/webgl/sceneapp/components/AppToolBox.vue?vue&type=style&index=0&id=
|
|
3059
|
+
/* harmony default export */ var components_AppToolBoxvue_type_style_index_0_id_311cc590_lang_scss = (AppToolBoxvue_type_style_index_0_id_311cc590_lang_scss/* default.locals */.Z.locals || {});
|
|
3060
|
+
;// CONCATENATED MODULE: ./src/webgl/sceneapp/components/AppToolBox.vue?vue&type=style&index=0&id=311cc590&lang=scss
|
|
3018
3061
|
|
|
3019
3062
|
;// CONCATENATED MODULE: ./src/webgl/sceneapp/components/AppToolBox.vue
|
|
3020
3063
|
|
|
@@ -3025,6 +3068,88 @@ var AppToolBoxvue_type_style_index_0_id_7d73c0da_lang_scss_update = injectStyles
|
|
|
3025
3068
|
const AppToolBox_exports_ = AppToolBoxvue_type_script_setup_true_lang_js;
|
|
3026
3069
|
|
|
3027
3070
|
/* harmony default export */ var AppToolBox = (AppToolBox_exports_);
|
|
3071
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sceneapp/components/AppClientPrint.vue?vue&type=script&setup=true&lang=js
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
/* harmony default export */ var AppClientPrintvue_type_script_setup_true_lang_js = ({
|
|
3077
|
+
__name: 'AppClientPrint',
|
|
3078
|
+
props: {
|
|
3079
|
+
mapTarget: String
|
|
3080
|
+
},
|
|
3081
|
+
emits: ["close"],
|
|
3082
|
+
setup(__props, {
|
|
3083
|
+
emit
|
|
3084
|
+
}) {
|
|
3085
|
+
const props = __props;
|
|
3086
|
+
let print_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
3087
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
3088
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {});
|
|
3089
|
+
});
|
|
3090
|
+
function onBack() {
|
|
3091
|
+
emit("close");
|
|
3092
|
+
}
|
|
3093
|
+
return (_ctx, _cache) => {
|
|
3094
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
3095
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
3096
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client3d_webgl_vue_.Kq3dClientPrint), {
|
|
3097
|
+
mapTarget: props.mapTarget,
|
|
3098
|
+
ref_key: "print_ref",
|
|
3099
|
+
ref: print_ref,
|
|
3100
|
+
style: {
|
|
3101
|
+
"z-index": "1001"
|
|
3102
|
+
}
|
|
3103
|
+
}, null, 8 /* PROPS */, ["mapTarget"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
3104
|
+
circle: "",
|
|
3105
|
+
title: _ctx.$t('leaflet.Return'),
|
|
3106
|
+
class: "print3-close-button",
|
|
3107
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
|
|
3108
|
+
top: _ctx.top && typeof _ctx.top === 'number' ? `${_ctx.top + 16}px` : '16px'
|
|
3109
|
+
}),
|
|
3110
|
+
onClick: _cache[0] || (_cache[0] = $event => onBack())
|
|
3111
|
+
}, {
|
|
3112
|
+
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_icon, {
|
|
3113
|
+
size: 26
|
|
3114
|
+
}, {
|
|
3115
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconBack))]),
|
|
3116
|
+
_: 1 /* STABLE */
|
|
3117
|
+
})]),
|
|
3118
|
+
_: 1 /* STABLE */
|
|
3119
|
+
}, 8 /* PROPS */, ["title", "style"])], 64 /* STABLE_FRAGMENT */);
|
|
3120
|
+
};
|
|
3121
|
+
}
|
|
3122
|
+
});
|
|
3123
|
+
;// CONCATENATED MODULE: ./src/webgl/sceneapp/components/AppClientPrint.vue?vue&type=script&setup=true&lang=js
|
|
3124
|
+
|
|
3125
|
+
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sceneapp/components/AppClientPrint.vue?vue&type=style&index=0&id=061f2d10&scoped=true&lang=css
|
|
3126
|
+
var AppClientPrintvue_type_style_index_0_id_061f2d10_scoped_true_lang_css = __webpack_require__(1939);
|
|
3127
|
+
;// 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/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sceneapp/components/AppClientPrint.vue?vue&type=style&index=0&id=061f2d10&scoped=true&lang=css
|
|
3128
|
+
|
|
3129
|
+
|
|
3130
|
+
|
|
3131
|
+
var AppClientPrintvue_type_style_index_0_id_061f2d10_scoped_true_lang_css_options = {};
|
|
3132
|
+
|
|
3133
|
+
AppClientPrintvue_type_style_index_0_id_061f2d10_scoped_true_lang_css_options.insert = "head";
|
|
3134
|
+
AppClientPrintvue_type_style_index_0_id_061f2d10_scoped_true_lang_css_options.singleton = false;
|
|
3135
|
+
|
|
3136
|
+
var AppClientPrintvue_type_style_index_0_id_061f2d10_scoped_true_lang_css_update = injectStylesIntoStyleTag_default()(AppClientPrintvue_type_style_index_0_id_061f2d10_scoped_true_lang_css/* default */.Z, AppClientPrintvue_type_style_index_0_id_061f2d10_scoped_true_lang_css_options);
|
|
3137
|
+
|
|
3138
|
+
|
|
3139
|
+
|
|
3140
|
+
/* harmony default export */ var components_AppClientPrintvue_type_style_index_0_id_061f2d10_scoped_true_lang_css = (AppClientPrintvue_type_style_index_0_id_061f2d10_scoped_true_lang_css/* default.locals */.Z.locals || {});
|
|
3141
|
+
;// CONCATENATED MODULE: ./src/webgl/sceneapp/components/AppClientPrint.vue?vue&type=style&index=0&id=061f2d10&scoped=true&lang=css
|
|
3142
|
+
|
|
3143
|
+
;// CONCATENATED MODULE: ./src/webgl/sceneapp/components/AppClientPrint.vue
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
|
|
3147
|
+
;
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
const AppClientPrint_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(AppClientPrintvue_type_script_setup_true_lang_js, [['__scopeId',"data-v-061f2d10"]])
|
|
3151
|
+
|
|
3152
|
+
/* harmony default export */ var AppClientPrint = (AppClientPrint_exports_);
|
|
3028
3153
|
;// CONCATENATED MODULE: ./src/webgl/sceneapp/geojson/icons.js
|
|
3029
3154
|
/*
|
|
3030
3155
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
@@ -3208,12 +3333,15 @@ const getPolygonStyle = function (layerStyle) {
|
|
|
3208
3333
|
|
|
3209
3334
|
|
|
3210
3335
|
|
|
3336
|
+
|
|
3337
|
+
|
|
3338
|
+
|
|
3211
3339
|
// 属性
|
|
3212
3340
|
|
|
3213
3341
|
const SceneAppvue_type_script_setup_true_lang_js_default_ = {
|
|
3214
3342
|
name: "KqSceneApp"
|
|
3215
3343
|
};
|
|
3216
|
-
/* harmony default export */ var SceneAppvue_type_script_setup_true_lang_js = (
|
|
3344
|
+
/* harmony default export */ var SceneAppvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(SceneAppvue_type_script_setup_true_lang_js_default_, {
|
|
3217
3345
|
props: {
|
|
3218
3346
|
portalUrl: String,
|
|
3219
3347
|
portalId: String,
|
|
@@ -3225,7 +3353,9 @@ const SceneAppvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3225
3353
|
}
|
|
3226
3354
|
}
|
|
3227
3355
|
},
|
|
3228
|
-
setup(__props
|
|
3356
|
+
setup(__props, {
|
|
3357
|
+
expose: __expose
|
|
3358
|
+
}) {
|
|
3229
3359
|
const props = __props;
|
|
3230
3360
|
let isShowToolBox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true);
|
|
3231
3361
|
let isShowScene = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true);
|
|
@@ -3245,9 +3375,24 @@ const SceneAppvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3245
3375
|
global_event_default().setDefaultMapInfo(props.target, "cesium");
|
|
3246
3376
|
let props_params = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
3247
3377
|
let portalPublicUrl = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
3378
|
+
const showPrint = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
3379
|
+
// 工具按钮
|
|
3248
3380
|
let components = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
3381
|
+
let components_default = ["kqlayertree", "kqbookmark", "kqlabel"];
|
|
3382
|
+
let compCollection = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([{
|
|
3383
|
+
component: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.markRaw)(client3d_webgl_vue_.Kq3dMeasure),
|
|
3384
|
+
props: {
|
|
3385
|
+
showShadow: true,
|
|
3386
|
+
showHeaderTemp: true,
|
|
3387
|
+
isCollapseHeaderTemp: true
|
|
3388
|
+
}
|
|
3389
|
+
}]);
|
|
3390
|
+
// 获取全局接口地址
|
|
3249
3391
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.provide)("props_params", props_params);
|
|
3250
3392
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.provide)("portalPublicUrl", portalPublicUrl);
|
|
3393
|
+
// 工具箱实例
|
|
3394
|
+
let toolBoxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
3395
|
+
// 初始化方法
|
|
3251
3396
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeMount)(async () => {
|
|
3252
3397
|
if (!props.portalId || props.portalId === "") {
|
|
3253
3398
|
isShowScene.value = true;
|
|
@@ -3255,6 +3400,14 @@ const SceneAppvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3255
3400
|
await loadResourceInfo(props);
|
|
3256
3401
|
}
|
|
3257
3402
|
});
|
|
3403
|
+
// 关闭打印
|
|
3404
|
+
const closePrint = () => {
|
|
3405
|
+
showPrint.value = false;
|
|
3406
|
+
};
|
|
3407
|
+
// 打开打印
|
|
3408
|
+
const openPrint = () => {
|
|
3409
|
+
showPrint.value = true;
|
|
3410
|
+
};
|
|
3258
3411
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {});
|
|
3259
3412
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
3260
3413
|
global_event_default().destroy();
|
|
@@ -3428,7 +3581,6 @@ const SceneAppvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3428
3581
|
vm._layerManager.setLayerVisibleStateByIds([layerData.guid], false);
|
|
3429
3582
|
}
|
|
3430
3583
|
}
|
|
3431
|
-
// ref_toolbox.value.ctrlChildenShow(vm._layerManager._layerListData);
|
|
3432
3584
|
// geojson数据条件过滤
|
|
3433
3585
|
if (layerData.addType == "geojson" && layerData.filters) {
|
|
3434
3586
|
if (promise) {
|
|
@@ -3558,30 +3710,38 @@ const SceneAppvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3558
3710
|
}
|
|
3559
3711
|
}
|
|
3560
3712
|
// 显示工具按钮
|
|
3561
|
-
function showToolBar() {
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3713
|
+
function showToolBar(names) {
|
|
3714
|
+
if (names) components_default = names;
|
|
3715
|
+
const ops = [];
|
|
3716
|
+
if (components_default && components_default.indexOf("kqlayertree") > -1 || !components_default) {
|
|
3717
|
+
ops.push({
|
|
3718
|
+
component: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.markRaw)(client_common_vue_.KqLayerTree),
|
|
3719
|
+
props: {
|
|
3720
|
+
mapTarget: props.target,
|
|
3721
|
+
showHeaderTemp: true
|
|
3722
|
+
},
|
|
3723
|
+
methods: data => {}
|
|
3724
|
+
});
|
|
3725
|
+
}
|
|
3726
|
+
if (components_default && components_default.indexOf("kqbookmark") > -1 || !components_default) {
|
|
3727
|
+
ops.push({
|
|
3728
|
+
component: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.markRaw)(client_common_vue_.KqBookmark),
|
|
3729
|
+
props: {
|
|
3730
|
+
showHeaderTemp: true,
|
|
3731
|
+
isCollapseHeaderTemp: true
|
|
3569
3732
|
}
|
|
3570
|
-
}
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
isCollapseHeaderTemp: true
|
|
3583
|
-
}
|
|
3584
|
-
}];
|
|
3733
|
+
});
|
|
3734
|
+
}
|
|
3735
|
+
if (components_default && components_default.indexOf("kqlabel") > -1 || !components_default) {
|
|
3736
|
+
ops.push({
|
|
3737
|
+
component: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.markRaw)(client_common_vue_.KqLabel),
|
|
3738
|
+
props: {
|
|
3739
|
+
showHeaderTemp: true,
|
|
3740
|
+
isCollapseHeaderTemp: true
|
|
3741
|
+
}
|
|
3742
|
+
});
|
|
3743
|
+
}
|
|
3744
|
+
components.value = ops;
|
|
3585
3745
|
}
|
|
3586
3746
|
// 多窗口对比
|
|
3587
3747
|
const contrast = isContrast => {
|
|
@@ -3591,11 +3751,74 @@ const SceneAppvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3591
3751
|
isShowToolBox.value = true;
|
|
3592
3752
|
}
|
|
3593
3753
|
};
|
|
3754
|
+
const filterBoxData = hideValues => {
|
|
3755
|
+
toolBoxRef.value.filter(hideValues);
|
|
3756
|
+
};
|
|
3757
|
+
const updateProps = () => {
|
|
3758
|
+
components.value.forEach(p => {
|
|
3759
|
+
p.props.isCollapseHeaderTemp = false;
|
|
3760
|
+
});
|
|
3761
|
+
};
|
|
3762
|
+
|
|
3763
|
+
// 监听toolbox的收起展开
|
|
3764
|
+
const hideToolBoxFn = isHide => {
|
|
3765
|
+
if (isHide) {
|
|
3766
|
+
baseWindowMove(16, ".baseWindow_box_custom");
|
|
3767
|
+
} else {
|
|
3768
|
+
baseWindowMove(380, ".baseWindow_box_custom");
|
|
3769
|
+
}
|
|
3770
|
+
};
|
|
3771
|
+
function baseWindowMove(targetPosition, dom) {
|
|
3772
|
+
if (!dom) {
|
|
3773
|
+
dom = ".kq-base-window--box";
|
|
3774
|
+
}
|
|
3775
|
+
let timer = null;
|
|
3776
|
+
const _fn = (target, targetPosition) => {
|
|
3777
|
+
clearInterval(timer);
|
|
3778
|
+
var speed = 0;
|
|
3779
|
+
if (targetPosition == 16) {
|
|
3780
|
+
speed = -16;
|
|
3781
|
+
} else {
|
|
3782
|
+
speed = 16;
|
|
3783
|
+
}
|
|
3784
|
+
timer = setInterval(function () {
|
|
3785
|
+
let _right = Number(target.style.right.split("px")[0]);
|
|
3786
|
+
if (targetPosition == 16) {
|
|
3787
|
+
speed = (speed - _right) / 24;
|
|
3788
|
+
} else {
|
|
3789
|
+
speed = (speed + _right) / 16;
|
|
3790
|
+
}
|
|
3791
|
+
if (_right >= targetPosition && targetPosition == 380) {
|
|
3792
|
+
speed = 0;
|
|
3793
|
+
target.style.right = "380px";
|
|
3794
|
+
clearInterval(timer);
|
|
3795
|
+
} else if (_right <= targetPosition && targetPosition == 16) {
|
|
3796
|
+
speed = 0;
|
|
3797
|
+
target.style.right = "16px";
|
|
3798
|
+
clearInterval(timer);
|
|
3799
|
+
} else {
|
|
3800
|
+
target.style.right = _right + speed + "px";
|
|
3801
|
+
}
|
|
3802
|
+
}, 3.5);
|
|
3803
|
+
};
|
|
3804
|
+
let _baseWindows = document.querySelectorAll(dom);
|
|
3805
|
+
if (_baseWindows && _baseWindows.length) {
|
|
3806
|
+
_baseWindows.forEach(ele => {
|
|
3807
|
+
(ele => {
|
|
3808
|
+
_fn(ele, targetPosition);
|
|
3809
|
+
})(ele);
|
|
3810
|
+
});
|
|
3811
|
+
}
|
|
3812
|
+
}
|
|
3594
3813
|
function setResourceInfo(params) {}
|
|
3814
|
+
__expose({
|
|
3815
|
+
showToolBar,
|
|
3816
|
+
filterBoxData,
|
|
3817
|
+
updateProps
|
|
3818
|
+
});
|
|
3595
3819
|
return (_ctx, _cache) => {
|
|
3596
|
-
const _component_kq_tool_collection = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-tool-collection");
|
|
3597
3820
|
const _component_kq_scene_view = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-scene-view");
|
|
3598
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowScene) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_scene_view, {
|
|
3821
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowScene) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_scene_view, {
|
|
3599
3822
|
key: 0,
|
|
3600
3823
|
ref_key: "sceneAppView",
|
|
3601
3824
|
ref: sceneAppView,
|
|
@@ -3604,19 +3827,34 @@ const SceneAppvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3604
3827
|
scenceInfo: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(scenceInfo),
|
|
3605
3828
|
toolButtonsPosition: "bottom-right"
|
|
3606
3829
|
}, {
|
|
3607
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(
|
|
3830
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_common_vue_.KqToolCollection), {
|
|
3608
3831
|
position: "topLeft",
|
|
3609
3832
|
mode: "horizontal",
|
|
3610
3833
|
components: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(components)
|
|
3834
|
+
}, null, 8 /* PROPS */, ["components"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_common_vue_.KqToolCollection), {
|
|
3835
|
+
class: "map-measure",
|
|
3836
|
+
components: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(compCollection),
|
|
3837
|
+
position: {
|
|
3838
|
+
bottom: 130,
|
|
3839
|
+
right: 16
|
|
3840
|
+
}
|
|
3611
3841
|
}, null, 8 /* PROPS */, ["components"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(AppToolBar), {
|
|
3612
3842
|
ref: "toolBarRef",
|
|
3613
3843
|
onContrast: contrast,
|
|
3614
3844
|
viewId: sceneViewId
|
|
3615
3845
|
}, null, 512 /* NEED_PATCH */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(AppToolBox), {
|
|
3616
|
-
|
|
3617
|
-
|
|
3846
|
+
ref_key: "toolBoxRef",
|
|
3847
|
+
ref: toolBoxRef,
|
|
3848
|
+
viewId: sceneViewId,
|
|
3849
|
+
target: props.target,
|
|
3850
|
+
onOpenPrint: openPrint,
|
|
3851
|
+
onCollapse: hideToolBoxFn
|
|
3852
|
+
}, null, 8 /* PROPS */, ["target"]), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowToolBox)]])]),
|
|
3618
3853
|
_: 1 /* STABLE */
|
|
3619
|
-
}, 8 /* PROPS */, ["target", "scenceInfo"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)
|
|
3854
|
+
}, 8 /* PROPS */, ["target", "scenceInfo"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), showPrint.value ? ((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_.unref)(AppClientPrint), {
|
|
3855
|
+
key: 1,
|
|
3856
|
+
onClose: closePrint
|
|
3857
|
+
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)], 64 /* STABLE_FRAGMENT */);
|
|
3620
3858
|
};
|
|
3621
3859
|
}
|
|
3622
3860
|
}));
|